Download the PHP package csoellinger/xpdf-cli-pdfinfo without Composer
On this page you can find all versions of the php package csoellinger/xpdf-cli-pdfinfo. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download csoellinger/xpdf-cli-pdfinfo
More information about csoellinger/xpdf-cli-pdfinfo
Files in csoellinger/xpdf-cli-pdfinfo
Package xpdf-cli-pdfinfo
Short Description A little PHP wrapper around the Xpdf cli tool: pdfinfo.
License MIT
Homepage https://github.com/CSoellinger/php-xpdf-cli-pdfinfo
Informations about the package xpdf-cli-pdfinfo
Xpdf Cli - pdfinfo
A little PHP wrapper around the Xpdf cli tool: pdfinfo.
Fetching the following informations and make them easy accessible:
- Producer
- Creation date
- Modified date
- Tagged
- Form
- Pages
- Encrypted
- Page size
- Width as points
- Height as points
- Format
- Rotated Degrees
- Box (Media, Crop, Bleed, Trim, Art)
- X coordinate as points
- Y coordinate as points
- Width as points
- Height as points
- File size
- Bytes
- Optimized
- PDF version
Note: If you have a password protected pdf file, and not setting the password param, you will get a process failed exception.
Getting Started
PHP 7 or above and Composer is expected to be installed on your system.
Installing
Usage
Example
See inside public dir for an example.
Running the Tests
All tests can be run by executing
phpunit
will automatically find all tests inside the tests
directory and run them based on the configuration in the phpunit.xml
file.
Running the Example
PHP has an in-built server for local development. To run this change into the directory public
and run
Then open your browser at http://localhost:8000/example.php
Built With
ToDo
- Add different encrypted informations: Encrypted: yes (print:yes copy:yes change:yes addNotes:yes)
License
This project is licensed under the MIT License - see the LICENCE.md file for details.
All versions of xpdf-cli-pdfinfo with dependencies
ext-soap Version *
insign/get-os Version ^1.0
symfony/process Version ^5.3