Download the PHP package rekalogika/gotenberg-pdf-bundle without Composer
On this page you can find all versions of the php package rekalogika/gotenberg-pdf-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rekalogika/gotenberg-pdf-bundle
More information about rekalogika/gotenberg-pdf-bundle
Files in rekalogika/gotenberg-pdf-bundle
Package gotenberg-pdf-bundle
Short Description Symfony Bundle for generating PDF using Gotenberg API
License MIT
Homepage https://rekalogika.dev/gotenberg-pdf-bundle
Informations about the package gotenberg-pdf-bundle
rekalogika/gotenberg-pdf-bundle
Symfony Bundle for generating PDF using Gotenberg.
Features
- Easy provisioning with Symfony Flex, Symfony CLI, and Docker Compose. Just install the bundle and you're ready to generate your first PDF.
- Separated high-level interfaces in
rekalogika/print-contracts
. If Gotenberg gets out of fashion in the future, hopefully we only need to replace this package, and don't need to change our code. - Abstractions for paper sizes and page layouts.
- Leverages Symfony HTTP Client. See the requests and responses in Symfony profiler for debugging.
- With the heavy lifting already done by Gotenberg, there is no need to deal with Chrome instances, CLI tools, Puppeteer, NodeJS, etc.
- Scalable architecture. Suitable for low-volume development and high-volume usage alike. No need to reengineer if your usage outgrows your solution. Just add more instances of Gotenberg with Docker Compose or the container orchestration tool you are using.
Installation
Preinstallation checklists:
- Make sure Composer is installed globally, as explained in the installation
chapter of the Composer
documentation. Run
composer about
to verify. - Make sure your project has Symfony Flex installed and enabled (it is enabled
by default). Run
composer why symfony/flex
to verify.
Open a command console, enter your project directory, and execute:
Quick Start
Checklist:
- Make sure you have Docker Compose installed. Run
docker compose version
to verify. - Make sure you have Symfony CLI installed. Run
symfony version
to verify.
To start the Gotenberg server (and other services registered in the Docker Compose configuration), run:
Then start the web server using Symfony CLI:
Create a sample controller for generating a PDF file:
Then open your browser and go to http://localhost:8000/pdf.
Documentation
rekalogika/gotenberg-pdf-bundle
License
MIT
Contributing
The rekalogika/gotenberg-pdf-bundle
repository is a read-only repo split from
the main repo. Issues and pull requests should be submitted to the
rekalogika/print-src monorepo.
All versions of gotenberg-pdf-bundle with dependencies
psr/http-client Version ^1.0
psr/http-message Version ^2.0
rekalogika/print-contracts Version ^1.3
rekalogika/print Version ^1.3
symfony/config Version ^6.2 || ^7.0
symfony/dependency-injection Version ^6.2 || ^7.0
symfony/http-kernel Version ^6.2 || ^7.0