Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Pdf Optimizer Laravel Package

mostafaznv/pdf-optimizer

PDF Optimizer is a PHP and Laravel package that compresses and optimizes PDF files with Ghostscript to significantly reduce file sizes. It offers a fluent API, logger support, queue-based async processing, and flexible input via file paths, UploadedFile instances, or disk storage.

View on GitHub
Deep Wiki
Context7

PDF Optimizer

GitHub Workflow Status Codecov branch Quality Score GitHub license Packagist Downloads Latest Version on Packagist

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.

Donate

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, and disk 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.

[!WARNING]

License Notice

This package is licensed under the MIT License.

It does not include the Ghostscript. However, it requires Ghostscript to be installed on the server in order to function. Ghostscript is licensed separately under the AGPL or a commercial license from Artifex. If you choose the AGPL version of Ghostscript, you must comply with the AGPL terms in your own application.

Please ensure you have the appropriate Ghostscript license for your use case.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table
siberfx/flysystem-wasabi
hollyit/token-replace
ippanelcom/laravel-sdk
adachsoft/changelog-linter
adachsoft/collection
payerurl/telegrambot-crypto-payment-instant-payout
dskripchenko/laravel-hybrid-search
riorizkyrainey/lara-ced
mehedimi/static-vel
zharp/zharp
nonsapiens/bigquery-model-sync
lgu-bayambang-ict-office/lgu-laravel-development-standards
andydefer/laravel-support
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel