PHPackages                             ilovepdf/iloveimg-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. [API Development](/categories/api)
4. /
5. ilovepdf/iloveimg-php

ActiveLibrary[API Development](/categories/api)

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

iLoveIMG Php Api

v1.2.0(2mo ago)31134.6k↓27.7%10[1 issues](https://github.com/ilovepdf/iloveimg-php/issues)1MITPHPPHP &gt;=8.0

Since May 28Pushed 1mo ago1 watchersCompare

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

READMEChangelog (6)Dependencies (8)Versions (7)Used By (1)

iLoveIMG Api - Php Library
--------------------------

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

[![Build Status](https://camo.githubusercontent.com/8836bcd827d648f536fa727390a2ddea1d2097c79371aaecc7d313f5a5fb706f/68747470733a2f2f7472617669732d63692e6f72672f696c6f76657064662f696c6f7665696d672d7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ilovepdf/iloveimg-php)[![Latest Stable Version](https://camo.githubusercontent.com/232df4fe893cfbfd1e4f769e4789eeca78a912b7786ae312e7779763eeeb7261/68747470733a2f2f706f7365722e707567782e6f72672f696c6f76657064662f696c6f7665696d672d7068702f76657273696f6e)](https://packagist.org/packages/ilovepdf/iloveimg-php)[![Total Downloads](https://camo.githubusercontent.com/e2a9764e49153b96e6d9bd38140e0a8a28f492523a277931a5625ef6afafce9a/68747470733a2f2f706f7365722e707567782e6f72672f696c6f76657064662f696c6f7665696d672d7068702f646f776e6c6f6164732e737667)](https://packagist.org/packages/ilovepdf/iloveimg-php)[![License](https://camo.githubusercontent.com/d089e70d8037bf0f9e47aa04e5483b3c853c7eed61de275902f254dca5ae4ca6/68747470733a2f2f706f7365722e707567782e6f72672f696c6f76657064662f696c6f7665696d672d7068702f6c6963656e7365)](https://packagist.org/packages/ilovepdf/iloveimg-php)

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

You can sign up for a iLoveIMG 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/iloveimg-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/iloveimg-php/releases). Then, to use the library, include the `init.php` file.

```
require_once('/path/to/iloveimg-php/init.php');
```

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

[](#getting-started)

Simple usage looks like:

```
$iloveimg = new Iloveimg('project_public_id','project_secret_key');
$myTask = $iloveimg->newTask('compress');
$file1 = $myTask->addFile('file1.jpg');
$myTask->execute();
$myTask->download();
```

Samples
-------

[](#samples)

See samples folder.

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

[](#documentation)

Please see  for up-to-date documentation.

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance87

Actively maintained with recent releases

Popularity44

Moderate usage in the ecosystem

Community13

Small or concentrated contributor base

Maturity69

Established project with proven stability

 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 ~630 days

Total

5

Last Release

75d ago

PHP version history (3 changes)v1.1.1PHP &gt;=7.1

v1.1.16PHP &gt;=7.3

v1.2.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 (43 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[google/apiclient

Client library for Google APIs

9.8k205.9M1.1k](/packages/google-apiclient)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[plivo/plivo-php

A PHP SDK to make voice calls &amp; send SMS using Plivo and to generate Plivo XML

1143.1M19](/packages/plivo-plivo-php)[ellaisys/aws-cognito

Laravel Authentication using AWS Cognito (Web and API)

123256.9k1](/packages/ellaisys-aws-cognito)[plivo/php-sdk

A PHP SDK to make voice calls &amp; send SMS using Plivo and to generate Plivo XML

1112.0M6](/packages/plivo-php-sdk)

PHPackages © 2026

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