Phápgotenberg/gotenberg-php
🐘 A PHP client for interacting with Gotenberg.
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository của tuần
#1 Repository của tuần
#1 Repository của tuần
📄 gotenberg-php — PHP client chuyển đổi tài liệu sang PDF
Giao tiếp với Gotenberg để chuyển đổi HTML, Word, Excel thành PDF từ PHP.
gotenberg-php là thư viện PHP cho phép tương tác với Gotenberg — một API chuyển đổi tài liệu dựa trên Chromium và LibreOffice. Dự án hỗ trợ chuyển đổi các định dạng như HTML, Markdown, Word (.docx), Excel (.xlsx) sang PDF một cách dễ dàng và nhanh chóng.
✨ Điểm nổi bật
- Chuyển đổi URL sang PDF: Dùng Chromium để render trang web thành PDF.
- Hỗ trợ Office: Chuyển đổi tài liệu Word, Excel sang PDF qua LibreOffice.
- Giao diện theo module: Tổ chức qua các module như
chromium,libreOffice,pdfEngines. - Tích hợp Stream: Gửi nội dung hoặc tệp tin dưới dạng
Stream(chuỗi, đường dẫn, hoặc URL tải xuống). - Tương thích PSR-7/PSR-18: Sử dụng giao diện HTTP chuẩn của PHP.
- Cài đặt đơn giản với Composer:
composer require gotenberg/gotenberg-php.
💡 Vì sao đáng chú ý
gotenberg-php cung cấp một cách tiếp cận lập trình hướng đối tượng để giao tiếp với Gotenberg, giúp bạn tích hợp chuyển đổi tài liệu vào ứng dụng PHP mà không cần quản lý trực tiếp các công cụ như Chromium hay LibreOffice. Phù hợp cho các ứng dụng cần sinh báo cáo, hóa đơn PDF, hoặc lưu trữ tài liệu định dạng thống nhất.
#PHP #PDF #Gotenberg #OpenSource #TiniX
Dự án tương tự
Khám phá các dự án và mô hình AI khác có sự tương đồng.
Build your own AI office with Univer Office SDK. Bring editing, calculation, collaboration, and file processing into your product for people and AI agents. Built on an extensible open-source core.
ONLYOFFICE Docs is a free collaborative online office suite comprising viewers and editors for texts, spreadsheets and presentations, forms and PDF, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
Open-source office suite pack that comprises all the tools you need to work with documents, spreadsheets, presentations, PDFs, and PDF forms on Windows, Linux, and macOS
A developer-friendly API for converting many document formats into PDF files, and more!
Free, open-source AI Office suite: Docs, Sheets, Slides, PDF, Markdown and HTML editors with a built-in AI agent, plus a `genoffice` CLI and agent skill so Claude Code, Codex and Cursor can create and edit real .docx/.xlsx/.pptx files locally. Bring your own key. macOS, Windows & Linux.