{"repo":"sensiolabs/GotenbergBundle","free":true,"listed":false,"github":"https://github.com/sensiolabs/GotenbergBundle","clone":"git clone https://github.com/sensiolabs/GotenbergBundle.git","description":"A Symfony Bundle for interacting with Gotenberg. Integrates natively with twig, router, PHPStorm and more !","language":"PHP","stars":236,"topics":["gotenberg","pdf","pdf-generation","php","screenshot","symfony","symfony-bundle","csv","html","markdown"],"license":"MIT","category":"media-processing","readme_excerpt":"composer require sensiolabs/gotenberg-bundle Generate PDFs and screenshots with Symfony! This bundle allows you to generate, stream and save PDF locally from URL, HTML, Markdown or any Office file. Different options are available depending on the source. It also helps you to generate, stream and save images locally from URL, HTML and Markdown by taking a screenshot. [!NOTE] This bundle interacts with the amazing Gotenberg API which is used under the hood. 📦 How to install ⭐ Basic Usage 🌟 Advanced Usage 🔎 Profiler ✅ Testing 🙋 FAQ ❤️ Credits 📃 Licence How to install [!NOTE] You first need to install and configure Gotenberg 8.x by yourself. Install the bundle using composer: With Symfony Flex If you accept the Symfony Flex recipe during installation: The bundle will be automatically registered. A configuration skeleton file will be created. Docker Compose will be updated with a new gotenberg service. The .env file will be updated with a GOTENBERG DSN value pointing to gotenberg:3000 . You can update this value if your Gotenberg instance is hosted elsewhere. Without Symfony Flex Manually enable the bundle by adding it to the list of registered bundles in your config/bundles.php file: Create a configuration and adapt to your needs: Basic Usage PDF You can generate a PDF locally from URL, HTML, Markdown or any Office files. URL After injecting GotenbergPdfInterface you simply need to call the method url , which will return a UrlPdfBuilder instance. UrlPdfBuilder lets you pass ","default_branch":null,"files":null,"tree":[],"storefront":"/r/sensiolabs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sensiolabs/GotenbergBundle/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}