RepositoryPHP
ConvertAPI

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

50sao
19fork
2issue
0lượt xem

📂 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

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryPython
ConvertAPI/convertapi-library-python

Python SDK for ConvertAPI: convert Word, Excel, PowerPoint and HTML to PDF, PDF to Word, merge, compress and OCR. PyPI: convertapi

90
Nov 12, 2026
RepositoryJavaScript
ConvertAPI/convertapi-library-node

Node.js SDK for ConvertAPI: convert Word, Excel, PowerPoint and HTML to PDF, PDF to Word, merge, compress and OCR. npm: convertapi

51
Nov 16, 2026
Modelsentence-similarity
sentence-transformers/all-MiniLM-L6-v2

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...

♥0
164.7M
Jun 1, 2026
RepositoryPython
datalab-to/marker

Convert PDF to markdown + JSON quickly with high accuracy

41.0k
Nov 20, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

475.2k
Nov 23, 2026
RepositoryTypeScript
firecrawl/firecrawl

Knowledge infrastructure to make your agents smarter. Search, scrape and access 550+ data providers through one API.

207.6k
Nov 23, 2026
Repository
getify/You-Dont-Know-JS

A book series (2 published editions) on the JS language.

184.9k
Oct 31, 2026
RepositoryC#
KnifeLemon/Filee

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.

30.2k
Nov 23, 2026
RepositoryTypeScript
C4illin/ConvertX

💾 Self-hosted online file converter. Supports 1000+ formats ⚙️

19.7k
Nov 16, 2026