Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pointybeard/pdfinfo
A PHP wrapper class for pdfinfo which is part of the Poppler PDF rendering library (https://poppler.freedesktop.org/).
https://github.com/pointybeard/pdfinfo
Last synced: 9 days ago
JSON representation
A PHP wrapper class for pdfinfo which is part of the Poppler PDF rendering library (https://poppler.freedesktop.org/).
- Host: GitHub
- URL: https://github.com/pointybeard/pdfinfo
- Owner: pointybeard
- License: other
- Created: 2021-08-09T00:46:47.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-07T02:04:16.000Z (about 3 years ago)
- Last Synced: 2024-10-12T06:21:05.998Z (about 1 month ago)
- Language: PHP
- Size: 6.84 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# PHP Wrapper for pdfinfo
A PHP wrapper class for `pdfinfo` which is part of the [Poppler](https://poppler.freedesktop.org/) PDF rendering library.
## Installation
This library is installed via [Composer](http://getcomposer.org/). To install, use `composer require pointybeard/pdfinfo` or add `"pointybeard/pdfinfo": "~1.0.0"` to your `composer.json` file.
And run composer to update your dependencies:
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update#### pdfinfo
`pdfinfo`, which is part of the [Poppler](https://poppler.freedesktop.org/) PDF rendering library, must be installed. On ubuntu, this is done with the following command:
apt-get install poppler-utils
### Requirements
- `pdfinfo` (https://poppler.freedesktop.org/)
## Usage
Here is a basic usage example:
```php
toArray(),
$info->toJson(),
(string)$info,
$info->{"Page size"},
$info->dimensions(),
$info->height(),
$info->width()
);
```## Support
If you believe you have found a bug, please report it using the [GitHub issue tracker](https://github.com/pointybeard/pdfinfo/issues),
or better yet, fork the library and submit a pull request.## Contributing
We encourage you to contribute to this project. Please check out the [Contributing documentation](https://github.com/pointybeard/pdfinfo/blob/master/CONTRIBUTING.md) for guidelines about how to get involved.
## License
"PHP Wrapper for pdfinfo" is released under the [MIT License](http://www.opensource.org/licenses/MIT).