mostafaznv / pdf-optimizer
PDF optimization tool for PHP and Laravel applications
Installs: 10 711
Dependents: 0
Suggesters: 0
Security: 0
Stars: 132
Watchers: 1
Forks: 4
Open Issues: 0
Requires
- php: ^8.2
- ext-fileinfo: *
- psr/log: ^3.0
- symfony/process: ^6.2|^7.0
Requires (Dev)
- league/flysystem-aws-s3-v3: ^3.0
- orchestra/testbench: ^v8.19.0|^9.0
- pestphp/pest: ^2.0
- phpunit/phpunit: ^10.0
README
PDF Optimizer
stands as a robust PHP package meticulously crafted for effortless optimization and compression of PDF files. Whether you are engaged in a standalone PHP
project or navigating the Laravel
landscape, pdf-optimizer emerges as a powerful solution, utilizing the well-known ghostscript
tool to significantly reduce PDF file sizes.
Key Features
- Fluent Method Chaining: Experience the elegance of a fluent and expressive API that seamlessly optimizes PDF files. Harness the power of nearly all ghostscript options with ease.
- Logger Support: Capture detailed logs to gain profound insights into the intricacies of the optimization process. Stay informed and in control with the integrated logger.
- Customization: Tailor the optimization process to your exact needs. pdf-optimizer provides a customizable solution, allowing you to fine-tune your PDF optimization experience.
- Laravel Integration: Specifically designed for Laravel applications, pdf-optimizer supports diverse input methods, including
file paths
,UploadedFile
instances, anddisk
storage. This guarantees flexibility and user-friendly integration within the Laravel ecosystem. - Queue Support: Elevate your optimization process with asynchronous PDF file optimization using Laravel queues. pdf-optimizer seamlessly integrates with Laravel's queue system, ensuring efficient background processing.
Documentation
You can find installation instructions and detailed instructions on how to use this package at the dedicated documentation site.