ConvertAPI/convertapi-library-php
PHP SDK for ConvertAPI: convert Word, Excel, PowerPoint and HTML to PDF, PDF to Word, merge, compress and OCR. Composer: convertapi/convertapi-php
📂 Convert Files with a Single PHP Call
Turn any file into another format in seconds, without leaving your PHP code.
ConvertAPI PHP client is a lightweight library that lets you convert files and manipulate PDFs through ConvertAPI's online service. It works with PHP 8.1+ and installs via Composer, providing a simple interface for common tasks. The library handles authentication, request building, and response parsing, so you can focus on your application logic.
✨ Highlights
- File conversion: Convert between many formats using ConvertApi::convert.
- PDF manipulation: Merge, split, encrypt, repair, and decrypt PDF files.
- Flexible input: Use a local file path or a remote URL as the source.
- Conversion parameters: Add options such as PageRange or PdfResolution.
- User info: Retrieve account usage details with getUser().
- Region selection: Switch to an alternative service domain via setApiBase().
- Chaining conversions: Chain multiple conversions in a single workflow.
- Error handling: Catch API errors with exception classes.
💡 Why it matters
This library abstracts away the underlying HTTP calls, letting you focus on your application logic. The Composer installation handles dependencies automatically, and the small footprint makes it easy to integrate into existing projects. With built‑in support for chaining, error handling, and regional endpoints, it scales from simple one‑off conversions to complex pipelines.
#PHP #ConvertAPI #FileConversion #OpenSource #TiniX
Similar Projects
Discover other similar projects and AI models.
Python SDK for ConvertAPI: convert Word, Excel, PowerPoint and HTML to PDF, PDF to Word, merge, compress and OCR. PyPI: convertapi
Node.js SDK for ConvertAPI: convert Word, Excel, PowerPoint and HTML to PDF, PDF to Word, merge, compress and OCR. npm: convertapi
all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...
Reverse engineer anything with agents, from app behavior down to native binaries.
Knowledge infrastructure to make your agents smarter. Search, scrape and access 550+ data providers through one API.
Free, open-source file converter. Convert 263 formats offline by drag & drop — images, PDF, Word, Excel, PowerPoint, HWP/HWPX, video, audio, e-books and archives. No upload, no Office needed.