PHPackages                             eswachsman/ilovepdf-api - 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. eswachsman/ilovepdf-api

ActiveLibrary

eswachsman/ilovepdf-api
=======================

iLovePDF Php Api for PHP 8

v1.1.18(5y ago)112MITPHPPHP &gt;=7.3

Since Mar 20Pushed 4y agoCompare

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

READMEChangelogDependencies (1)Versions (36)Used By (0)

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

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

[![Build Status](https://camo.githubusercontent.com/447ae8250899bc78f49e0d8c6394b16d323d8d8a466d4e464747cdbeaa3453ef/68747470733a2f2f7472617669732d63692e6f72672f696c6f76657064662f696c6f76657064662d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ilovepdf/ilovepdf-php)[![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.3 and later.

Install
-------

[](#install)

### Using composer

[](#using-composer)

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');
```

### Manual Installation

[](#manual-installation)

If you do not wish to use Composer, you can download the [latest release](https://github.com/ilovepdf/ilovepdf-php/releases). Then, to use the library, include the `init.php` file.

```
require_once('/path/to/ilovepdf-php/init.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

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 82.9% 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 ~43 days

Recently: every ~249 days

Total

32

Last Release

1984d ago

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

v1.1.16PHP &gt;=7.0

v1.1.18PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/953fa1f24182ef80f071225b140255c6ebc5cab61663378a266f60f374c1ef07?d=identicon)[efraim@efraimw.com](/maintainers/efraim@efraimw.com)

---

Top Contributors

[![maztch](https://avatars.githubusercontent.com/u/1656570?v=4)](https://github.com/maztch "maztch (102 commits)")[![marcogrossisas](https://avatars.githubusercontent.com/u/833075?v=4)](https://github.com/marcogrossisas "marcogrossisas (6 commits)")[![lcollazo-ilovepdf](https://avatars.githubusercontent.com/u/55494154?v=4)](https://github.com/lcollazo-ilovepdf "lcollazo-ilovepdf (6 commits)")[![eswachsman](https://avatars.githubusercontent.com/u/6518373?v=4)](https://github.com/eswachsman "eswachsman (5 commits)")[![leoschronicles](https://avatars.githubusercontent.com/u/12991136?v=4)](https://github.com/leoschronicles "leoschronicles (2 commits)")[![blankse](https://avatars.githubusercontent.com/u/998558?v=4)](https://github.com/blankse "blankse (1 commits)")[![sharpie7](https://avatars.githubusercontent.com/u/9697874?v=4)](https://github.com/sharpie7 "sharpie7 (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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