codelinered / pdf-image
将上传的图片转换为PDF,合并2个PDF文件为1个或将PDF转换为图片
2.0.0
2024-10-03 16:26 UTC
Requires
- php: ^8.2
- ext-gd: *
- setasign/fpdi: ^2.6
- symfony/config: ^7.1
- symfony/form: ^7.1
- symfony/http-foundation: ^7.1
- symfony/mime: ^7.1
- symfony/security-csrf: ^7.1
- symfony/translation: ^7.1
- symfony/validator: ^7.1
- tecnickcom/tcpdf: ^6.7
Suggests
- ext-imagick: Enables you to use the 'PDF to Image' converter
- ext-zip: Enables you to use the 'PDF to Image' converter
README
查看截图。
目录
- 包含第三方代码
- 安装指南
包含
- Bootstrap 5.3
- Font Awesome 6.6
- FPDI 2.6
- TCPDF 6.7
- 部分来自 Symfony 7.1
- 表单
- 翻译
- 验证器
安装主构建
必需
- PHP ^8.2
- PHP GD 扩展
可选
在您的操作系统上打开控制台并导航到您的项目文件夹。选择以下版本之一。
使用Composer
php composer create-project codelinered/pdf-image && cd pdf-image
使用GIT
git clone https://github.com/CodelineRed/pdf-image.git && cd pdf-image && git checkout main
使用ZIP
Unix
wget -O pi-main.zip https://github.com/CodelineRed/pdf-image/archive/main.zip && unzip pi-main.zip && cd pdf-image-main
Windows 10+
curl -L -o pi-main.zip https://github.com/CodelineRed/pdf-image/archive/main.zip && tar -xf pi-main.zip && cd pdf-image-main
使用Docker安装(可选)
必需
在您的操作系统上打开控制台并导航到您想安装项目的位置。
Unix
- 启动Docker
systemctl docker start
- 复制并运行以下命令
docker run --rm --interactive --tty --volume $PWD:/app composer create-project --ignore-platform-reqs codelinered/pdf-image && cd pdf-image && docker-compose build && docker-compose up -d && xdg-open https://:7708
Windows 10+
- 启动Docker Desktop
"C:\Program Files\Docker\Docker Desktop.exe"
- 复制并运行以下命令
docker run --rm --interactive --tty --volume %cd%:/app composer create-project --ignore-platform-reqs codelinered/pdf-image && cd pdf-image && docker-compose build && docker-compose up -d && start https://:7708
打开localhost:7708进行网站。