michaeld555/pdf-converter
最新稳定版本:v1.0.2
Composer 安装命令:
composer require michaeld555/pdf-converter
包简介
A simple manager conversion for docx files to pdf
README 文档
README
Installation
Require this package in your composer.json and update composer. This will download the package.
composer require michaeld555/pdf-converter
Usage
You can create a new Converter instance and pass the docx file url and pdf file path. This will convert and save the pdf file in the path passed.
use Michaeld555\Converter; Converter::docx_to_pdf('https://example.com/file.docx', 'path_to_file/'); if (file_exists('path_to_file/file.pdf')) { echo "the file was converted successfully"; } else { echo "an error occurred during the file conversion"; }
统计信息
- 总下载量: 141
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-09-21