bureaupartners/pdfgrep
最新稳定版本:1.0.0
Composer 安装命令:
composer require bureaupartners/pdfgrep
包简介
Composer PHP handler for pdfgrep
README 文档
README
A simple package for reading information via full text search with pdfgrep and using the information in a PHP script.
Installing / Getting started
First add bureaupartners/pdfgrep to your composer.json
composer require bureaupartners/pdfgrep
Then add the following code to your project
use BureauPartners\pdfgrep\pdfgrep; $pdfgrep = new pdfgrep('Document.pdf', 'Dog'); $pdfgrep->getFirstMatch(); // Returns first match in the document $pdfgrep->getMatches(); // Returns all the matches $pdfgrep->getPageNumbers(); // Returns all page numbers with a match
Dependencies
Requires an installation of pdfgrep on the server.
You can install it for example like this:
apt-get install -y poppler-utils apt-get install -y pdfgrep
Contributing
If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.
Links
- Repository: https://github.com/bureaupartners/pdfgrep
- Issue tracker: https://github.com/bureaupartners/pdfgrep/issues
Licensing
The code in this project is licensed under MIT license.
统计信息
- 总下载量: 2k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-04-29