Gotenberg Php

screenshot of Gotenberg Php

A PHP client for interacting with Gotenberg.

Overview

The Gotenberg PHP Client offers an efficient way to convert a variety of document formats into PDF files effortlessly. Built on top of the powerful Gotenberg API, this client leverages tools like Chromium and LibreOffice, making document management seamless for developers. Whether you're dealing with HTML, Markdown, Word, or Excel files, Gotenberg simplifies the process, ensuring that developers can integrate PDF conversions directly into their applications with ease.

This client is perfect for those who require reliable and versatile document conversion capabilities. With support for various formats and easy integration via Composer, it caters well to developers looking to enhance their projects or applications that rely heavily on document handling.

Features

  • Multiple Format Support: Convert a wide range of formats including HTML, Markdown, Word, and Excel into high-quality PDFs.

  • Easy Integration: Install effortlessly with Composer, making it accessible for all PHP developers.

  • PSR-7 and PSR-18 Compatibility: Leverage standardized HTTP message interfaces for seamless API interaction, allowing flexibility in client choice.

  • Modular Architecture: Organized around modules that simplify the process of creating multipart/form-data requests for document conversions.

  • Custom File Naming: Automatically generates unique filenames for converted files, ensuring no conflicts in file storage.

  • Robust Error Handling: Utilizes exception handling for non-2xx HTTP responses, enhancing error management during API calls.

  • Symfony Bundle Availability: A Symfony bundle is available for those developing within the Symfony framework, providing added convenience.

  • Responsive Documentation: Comprehensive documentation provides clear insights and examples to help developers make the most out of the client.