PHPackages                             selectpdf/selectpdf-api-client - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. selectpdf/selectpdf-api-client

ActiveLibrary[API Development](/categories/api)

selectpdf/selectpdf-api-client
==============================

PHP client for SelectPdf Online REST API

1.4.0(4y ago)280MITPHPPHP &gt;=5.3.10

Since Jul 17Pushed 4y agoCompare

[ Source](https://github.com/selectpdf/selectpdf-api-php-client)[ Packagist](https://packagist.org/packages/selectpdf/selectpdf-api-client)[ Docs](https://selectpdf.com/html-to-pdf-api/)[ RSS](/packages/selectpdf-selectpdf-api-client/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

SelectPdf Online REST API - PHP Client
======================================

[](#selectpdf-online-rest-api---php-client)

SelectPdf Online REST API is a professional solution for managing PDF documents online. It now has a dedicated, easy to use, PHP client library that can be setup in minutes.

Installation
------------

[](#installation)

Download [selectpdf-api-php-client-1.4.0.zip](https://github.com/selectpdf/selectpdf-api-php-client/releases/download/1.4.0/selectpdf-api-php-client-1.4.0.zip), unzip it and require SelectPdf.Api.php in your code.

OR

Install SelectPdf PHP Client for Online API from Packagist: [SelectPdf API on Packagist](https://packagist.org/packages/selectpdf/selectpdf-api-client).

```
composer require selectpdf/selectpdf-api-client

```

OR

Clone [selectpdf-api-php-client](https://github.com/selectpdf/selectpdf-api-php-client) from Github and require SelectPdf.Api.php in your code.

```
git clone https://github.com/selectpdf/selectpdf-api-php-client
cd selectpdf-api-php-client

```

HTML To PDF API - PHP Client
----------------------------

[](#html-to-pdf-api---php-client)

SelectPdf HTML To PDF Online REST API is a professional solution that lets you create PDF from web pages and raw HTML code in your applications. The API is easy to use and the integration takes only a few lines of code.

### Features

[](#features)

- Create PDF from any web page or html string.
- Full html5/css3/javascript support.
- Set PDF options such as page size and orientation, margins, security, web page settings.
- Set PDF viewer options and PDF document information.
- Create custom headers and footers for the pdf document.
- Hide web page elements during the conversion.
- Automatically generate bookmarks during the html to pdf conversion.
- Support for partial page conversion.
- Easy integration, no third party libraries needed.
- Works in all programming languages.
- No installation required.

Sign up for for free to get instant API access to SelectPdf [HTML to PDF API](https://selectpdf.com/html-to-pdf-api/).

### Sample Code

[](#sample-code)

```

```

Pdf Merge API
-------------

[](#pdf-merge-api)

SelectPdf Pdf Merge REST API is an online solution that lets you merge local or remote PDFs into a final PDF document.

### Features

[](#features-1)

- Merge local PDF document.
- Merge remote PDF from public url.
- Set PDF viewer options and PDF document information.
- Secure generated PDF with a password.
- Works in all programming languages.

See [PDF Merge API](https://selectpdf.com/pdf-merge-api/) page for full list of parameters.

### Sample Code

[](#sample-code-1)

```

```

Pdf To Text API
---------------

[](#pdf-to-text-api)

SelectPdf Pdf To Text REST API is an online solution that lets you extract text from your PDF documents or search your PDF document for certain words.

### Features

[](#features-2)

- Extract text from PDF.
- Search PDF.
- Specify start and end page for partial file processing.
- Specify output format (plain text or html).
- Use a PDF from an online location (url) or upload a local PDF document.

See [Pdf To Text API](https://selectpdf.com/pdf-to-text-api/) page for full list of parameters.

### Sample Code - Pdf To Text

[](#sample-code---pdf-to-text)

```

```

### Sample Code - Search Pdf

[](#sample-code---search-pdf)

```

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~618 days

Total

2

Last Release

1512d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11090785?v=4)[SelectPdf](/maintainers/selectpdf)[@selectpdf](https://github.com/selectpdf)

---

Top Contributors

[![selectpdf](https://avatars.githubusercontent.com/u/11090785?v=4)](https://github.com/selectpdf "selectpdf (1 commits)")

---

Tags

apiclientpdfconvertweb serviceconverterhtml-to-pdfhtml-to-pdf-apipdf-merge-apipdf-to-text-api

### Embed Badge

![Health badge](/badges/selectpdf-selectpdf-api-client/health.svg)

```
[![Health](https://phpackages.com/badges/selectpdf-selectpdf-api-client/health.svg)](https://phpackages.com/packages/selectpdf-selectpdf-api-client)
```

###  Alternatives

[pdfcrowd/pdfcrowd

A client library for the Pdfcrowd API. It lets you convert between HTML, PDF and various image formats

631.1M1](/packages/pdfcrowd-pdfcrowd)[convertapi/convertapi-php

Convert API PHP Client

523.9M](/packages/convertapi-convertapi-php)[apigee/apigee-client-php

Client library for connecting to the Apigee Edge API.

27558.7k3](/packages/apigee-apigee-client-php)[deepseek-php/deepseek-php-client

deepseek PHP client is a robust and community-driven PHP client library for seamless integration with the Deepseek API, offering efficient access to advanced AI and data processing capabilities.

47073.9k5](/packages/deepseek-php-deepseek-php-client)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
