PHPackages                             jjarroyo/laravel-ilovepdf - 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. jjarroyo/laravel-ilovepdf

ActiveLibrary[API Development](/categories/api)

jjarroyo/laravel-ilovepdf
=========================

iLovePDF PHP API for Laravel

112PHPCI failing

Since Jun 26Pushed 5y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel iLovePDF
================

[](#laravel-ilovepdf)

[![License](https://camo.githubusercontent.com/7ba1cb082c8dde5da8250cf0245e13705e3447fb73226f50cb8a8310ef5e134c/68747470733a2f2f706f7365722e707567782e6f72672f6a6a6172726f796f2f6c61726176656c2d696c6f76657064662f6c6963656e7365)](https://packagist.org/packages/jjarroyo/laravel-ilovepdf)[![Latest Stable Version](https://camo.githubusercontent.com/7b265d55ac3c716aadc9227ef8c37360fba34c6456c042f8ded8cf4cc40c9380/68747470733a2f2f706f7365722e707567782e6f72672f6a6a6172726f796f2f6c61726176656c2d696c6f76657064662f762f737461626c65)](https://packagist.org/packages/jjarroyo/laravel-ilovepdf)[![Total Downloads](https://camo.githubusercontent.com/5e7aab8308382123c293836bcd143b7087ea1c2b45d7893b9b246251fe429b97/68747470733a2f2f706f7365722e707567782e6f72672f6a6a6172726f796f2f6c61726176656c2d696c6f76657064662f646f776e6c6f616473)](https://packagist.org/packages/jjarroyo/laravel-ilovepdf)[![CircleCI](https://camo.githubusercontent.com/c7be1182616294e4b2f55bb98f00bb04b1b10ea2591a99a601e7d3e4854cb26f/68747470733a2f2f636972636c6563692e636f6d2f67682f6a6a6172726f796f2f6c61726176656c2d696c6f76657064662e7376673f7374796c653d736869656c64)](https://circleci.com/gh/jjarroyo/laravel-ilovepdf)

A Laravel package library for [iLovePDF API](https://developer.ilovepdf.com) based on the [iLovePDF PHP Library](https://github.com/ilovepdf/ilovepdf-php)

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.2 and later. Laravel 7.x and later.

Install
-------

[](#install)

### Using composer

[](#using-composer)

This package can be used in Laravel 5.5 or higher. You can install the library via [Composer](http://getcomposer.org/). Run the following command:

```
composer require jjarroyo/laravel-ilovepdf
```

The service provider and alias will automatically get registered. Or you may manually add them in your `config/app.php` file:

```
'providers' => [
    // ...
    JJArroyo\LaravelIlovepdf\LaravelIlovepdfServiceProvider::class,
];

'aliases' => [
    // ...
    'IlovePDF' => JJArroyo\LaravelIlovepdf\Facades\Ilovepdf::class,
];
```

You can publish the config with:

```
php artisan vendor:publish --provider="JJArroyo\LaravelIlovepdf\LaravelIlovepdfServiceProvider" --tag="config"
```

### Setup API Keys

[](#setup-api-keys)

Sign up for an iLovePDF account at  to get your `Project Key` and `Secret Key`

Add the following in your `.env` file:

```
...
ILOVEPDF_PROJECT_KEY=YOUR_PROJECT_KEY
ILOVEPDF_SECRET_KEY=YOUR_SECRET_KEY

```

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

[](#getting-started)

Simple usage looks like:

```
$myTask = ILovePDF::newTask('compress');

$file1 = $myTask->addFile('file1.pdf');

$myTask->execute();

$myTask->setOutputFilename('output.pdf');

$myTask->download();
```

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

[](#documentation)

Please see  for up-to-date documentation.

laravel-ilovepdf
================

[](#laravel-ilovepdf-1)

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7fd2d6a1d8b6dfd9ed4fa195356339e0c84bd0243edf6bd60cba168aaeed3930?d=identicon)[jjarroyo](/maintainers/jjarroyo)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[stripe/stripe-php

Stripe PHP Library

4.0k143.3M480](/packages/stripe-stripe-php)[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)

PHPackages © 2026

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