minhhn/converters
最新稳定版本:1.0.2
Composer 安装命令:
composer require minhhn/converters
包简介
Suport convert document to other format
README 文档
README
- Poppler tools kit
- Jod converter
Usage
$converter = new \Colombo\Converters\Helpers\Converter(); $converter->setInput($input); // force custom converter $converter->setOutputFormat( 'pdf'); $converter->setEndPage(1); $converter->setEndPage(2); $result = $converter->run(); if($result->isSuccess()){ $result->saveTo('xxx.pdf'); }else{ print_r($result->getErrors()); }
With laravel
-
Add
ConverterServiceProviderto app.php and type command like thisphp artisan colombo_convert -i ~/Downloads/30325685_1545065160.doc -f pdf --output ./x.pdf
Stable
- poppler utils
- gs
- pdf2htmlex
Todo
-[ ] Add ghostscript for optimize pdf file -[ ] Add qpdf -[ ] Add mupdf for capture pdf
统计信息
- 总下载量: 37
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2024-05-06