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.2.6(1y ago)178467.1k↑13.3%46[3 issues](https://github.com/ilovepdf/ilovepdf-php/issues)MITPHPPHP &gt;=7.3CI failing

Since Mar 20Pushed 2mo 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 1mo ago

READMEChangelog (10)Dependencies (4)Versions (40)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 7.4 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

56

—

FairBetter than 98% of packages

Maintenance62

Regular maintenance activity

Popularity55

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 77.3% 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 ~71 days

Recently: every ~205 days

Total

38

Last Release

698d ago

PHP version history (4 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

### Community

Maintainers

![](https://www.gravatar.com/avatar/8684eadc3af9816129afa52505165fbff944775dd2803da204424373d26cbc73?d=identicon)[maztch](/maintainers/maztch)

---

Top Contributors

[![maztch](https://avatars.githubusercontent.com/u/1656570?v=4)](https://github.com/maztch "maztch (157 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

[opentok/opentok

OpenTok is a platform for creating real time streaming video applications, created by TokBox.

1413.0M10](/packages/opentok-opentok)[pusher/pusher-push-notifications

562.5M9](/packages/pusher-pusher-push-notifications)[aspose-cloud/aspose-words-cloud

Open, generate, edit, split, merge, compare and convert Word documents. Integrate Cloud API into your solutions to manipulate documents. Convert PDF to Word (DOC, DOCX, ODT, RTF and HTML) and in the opposite direction.

32157.4k](/packages/aspose-cloud-aspose-words-cloud)[ambersive/pdfprinter

This package for laravel provides a simple way to create pdf documents. This packages requires a running instance of the PRINT-API (also open sourced).

162.6k](/packages/ambersive-pdfprinter)

PHPackages © 2026

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