PHPackages                             compassites/laravel-mpdf - 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. compassites/laravel-mpdf

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

compassites/laravel-mpdf
========================

mPDF wrapper for Laravel 5.\*

0191PHP

Since May 12Pushed 9y ago1 watchersCompare

[ Source](https://github.com/psbharathy/laravel-mpdf)[ Packagist](https://packagist.org/packages/compassites/laravel-mpdf)[ RSS](/packages/compassites-laravel-mpdf/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

### mPDF Wrapper for Laravel 5

[](#mpdf-wrapper-for-laravel-5)

Installation
------------

[](#installation)

Begin by installing this package through Composer. Edit your project's `composer.json` file to require `compassites/laravel-mpdf`.

```
{
  "require": {
       "compassites/laravel-mpdf" : "master"
    }
}
```

Next, update Composer from the Terminal:

```
$ composer update
```

Once this operation completes, the final step is to add the service provider. Open `app/config/app.php`, and add a new item to the providers array.

```
'Compassites\Mpdf\ServiceProvider',
```

You can also register facade.

```
'PDF' => 'Compassites\Mpdf\Facades\Pdf',
```

### License

[](#license)

This mPDF Wrapper for Laravel5 is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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://avatars.githubusercontent.com/u/5064987?v=4)[P Subramania Bharathy](/maintainers/psbharathy)[@psbharathy](https://github.com/psbharathy)

---

Top Contributors

[![psbharathy](https://avatars.githubusercontent.com/u/5064987?v=4)](https://github.com/psbharathy "psbharathy (7 commits)")[![dmavrin](https://avatars.githubusercontent.com/u/7140790?v=4)](https://github.com/dmavrin "dmavrin (6 commits)")[![b3ni](https://avatars.githubusercontent.com/u/1167851?v=4)](https://github.com/b3ni "b3ni (1 commits)")[![mean-cj](https://avatars.githubusercontent.com/u/1191385?v=4)](https://github.com/mean-cj "mean-cj (1 commits)")

### Embed Badge

![Health badge](/badges/compassites-laravel-mpdf/health.svg)

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

###  Alternatives

[42coders/document-templates

Document template management package.

19940.0k](/packages/42coders-document-templates)[qipsius/tcpdf-bundle

A bundle to easily integrate TCPDF into Symfony

23749.5k](/packages/qipsius-tcpdf-bundle)[macopedia/magmi2

Magento Mass Importer 'Magmi' for Magento 2

11615.7k](/packages/macopedia-magmi2)[tarfin-labs/easy-pdf

Makes pdf processing easy.

1719.4k](/packages/tarfin-labs-easy-pdf)[akeneo-labs/excel-connector-bundle

Akeneo PIM Excel connector bundle

166.4k](/packages/akeneo-labs-excel-connector-bundle)

PHPackages © 2026

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