PHPackages                             ilovepdf/ilovepdf-php - 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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. ilovepdf/ilovepdf-php

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

ilovepdf/ilovepdf-php
=====================

iLovePDF Php Api

v1.4.0(1mo ago)186528.3k↓22.4%48[4 issues](https://github.com/ilovepdf/ilovepdf-php/issues)MITPHPPHP &gt;=8.0CI failing

Since Mar 20Pushed 1mo ago11 watchersCompare

[ Source](https://github.com/ilovepdf/ilovepdf-php)[ Packagist](https://packagist.org/packages/ilovepdf/ilovepdf-php)[ Docs](https://ilovepdf.com/)[ RSS](/packages/ilovepdf-ilovepdf-php/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (13)Versions (44)Used By (0)

iLovePDF Api - Php Library
--------------------------

[](#ilovepdf-api---php-library)

[![Latest Stable Version](https://camo.githubusercontent.com/093d7e9eb9a82bb28b6a563c335fa3551a0b60cbf7b495a3073df06b5f539775/68747470733a2f2f706f7365722e707567782e6f72672f696c6f76657064662f696c6f76657064662d7068702f76657273696f6e)](https://packagist.org/packages/ilovepdf/ilovepdf-php)[![Total Downloads](https://camo.githubusercontent.com/19a34fc4381fa9681ee657abda7480310ad1ea10454db9394a14e5212b8d5673/68747470733a2f2f706f7365722e707567782e6f72672f696c6f76657064662f696c6f76657064662d7068702f646f776e6c6f6164732e737667)](https://packagist.org/packages/ilovepdf/ilovepdf-php)[![License](https://camo.githubusercontent.com/b824db49fb827ca5af5f8dbd6aeca779f0440b60bf69da790eae274956613a0d/68747470733a2f2f706f7365722e707567782e6f72672f696c6f76657064662f696c6f76657064662d7068702f6c6963656e7365)](https://packagist.org/packages/ilovepdf/ilovepdf-php)

A library in php for [iLovePDF Api](https://developer.ilovepdf.com)

You can sign up for a iLovePDF account at

Develop and automate PDF processing tasks like Compress PDF, Merge PDF, Split PDF, convert Office to PDF, PDF to JPG, Images to PDF, add Page Numbers, Rotate PDF, Unlock PDF, stamp a Watermark and Repair PDF. Each one with several settings to get your desired results.

Requirements
------------

[](#requirements)

PHP 8.0 and later.

Install
-------

[](#install)

You can install the library via [Composer](http://getcomposer.org/). Run the following command:

```
composer require ilovepdf/ilovepdf-php
```

To use the library, use Composer's [autoload](https://getcomposer.org/doc/00-intro.md#autoloading):

```
require_once('vendor/autoload.php');
```

Getting Started
---------------

[](#getting-started)

Simple usage looks like:

```
use Ilovepdf\Ilovepdf;

$ilovepdf = new Ilovepdf('project_public_id','project_secret_key');
$myTask = $ilovepdf->newTask('compress');
$file1 = $myTask->addFile('file1.pdf');
$myTask->execute();
$myTask->download();
```

Samples
-------

[](#samples)

See samples folder.

Documentation
-------------

[](#documentation)

Please see  for up-to-date documentation.

###  Health Score

68

—

FairBetter than 99% of packages

Maintenance92

Actively maintained with recent releases

Popularity56

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 77.8% 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 ~84 days

Recently: every ~177 days

Total

41

Last Release

36d ago

PHP version history (5 changes)v1.0.0PHP &gt;=5.5.9

v1.1.16PHP &gt;=7.0

v1.1.18PHP &gt;=7.3

v1.2.1PHP &gt;=7.4

v1.3.0PHP &gt;=8.0

### Community

Maintainers

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

---

Top Contributors

[![maztch](https://avatars.githubusercontent.com/u/1656570?v=4)](https://github.com/maztch "maztch (161 commits)")[![guillem-pdf](https://avatars.githubusercontent.com/u/80250668?v=4)](https://github.com/guillem-pdf "guillem-pdf (23 commits)")[![lcollazo-ilovepdf](https://avatars.githubusercontent.com/u/55494154?v=4)](https://github.com/lcollazo-ilovepdf "lcollazo-ilovepdf (12 commits)")[![marcogrossisas](https://avatars.githubusercontent.com/u/833075?v=4)](https://github.com/marcogrossisas "marcogrossisas (6 commits)")[![leoschronicles](https://avatars.githubusercontent.com/u/12991136?v=4)](https://github.com/leoschronicles "leoschronicles (2 commits)")[![sharpie7](https://avatars.githubusercontent.com/u/9697874?v=4)](https://github.com/sharpie7 "sharpie7 (1 commits)")[![DarwinOnLine](https://avatars.githubusercontent.com/u/719285?v=4)](https://github.com/DarwinOnLine "DarwinOnLine (1 commits)")[![blankse](https://avatars.githubusercontent.com/u/998558?v=4)](https://github.com/blankse "blankse (1 commits)")

---

Tags

ilovepdf-apipdfpdf-compressionpdf-converterpdf-documentpdf-editorpdf-mergepdf-rest-apiphp-library

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ilovepdf-ilovepdf-php/health.svg)

```
[![Health](https://phpackages.com/badges/ilovepdf-ilovepdf-php/health.svg)](https://phpackages.com/packages/ilovepdf-ilovepdf-php)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[google/auth

Google Auth Library for PHP

1.4k294.2M219](/packages/google-auth)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[typo3/cms-core

TYPO3 CMS Core

3713.2M5.1k](/packages/typo3-cms-core)

PHPackages © 2026

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