PHPackages                             appoly/document-generator - 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. appoly/document-generator

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

appoly/document-generator
=========================

A package to generate pdfs and pngs from urls or html sent to a lambda function

1.2.3(3y ago)0824[1 issues](https://github.com/appoly/document-generator/issues)[2 PRs](https://github.com/appoly/document-generator/pulls)MITPHPCI passing

Since Sep 17Pushed 4mo agoCompare

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

READMEChangelog (9)Dependencies (2)Versions (13)Used By (0)

Appoly Document Generator
=========================

[](#appoly-document-generator)

This package will generate PDFs and PNGs from websites.

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

[](#installation)

```
composer require appoly/document-generator
```

Usage
-----

[](#usage)

```
use  Appoly\DocumentGenerator\Facades\DocumentGenerator;

$png  =  DocumentGenerator::url('https://www.appoly.co.uk')
		->png()
		->get();
```

Options
-------

[](#options)

OptionDescription`->pdf()`sets the file to .pdf`->png()`sets the file to .png`->url($url)`sets the url that will be rendered`->html($html)`sets the html that will be rendered`->height($h)`sets the files height`->width($w)`sets the files width`->showBackground($i = true)`when rendering a PDF, Set to `true` to print background graphics`->filename($name)`sets the file name - defaults to `random.filetype`API Key
-------

[](#api-key)

A api key is required. This can be defined in your `.env`

`DOCUMENT_GENERATOR_API_KEY`

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance52

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 50% 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 ~35 days

Recently: every ~52 days

Total

9

Last Release

1420d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/77516364173175088d49cb91d276c702504d0670a0fb0130163b9101c1ad79aa?d=identicon)[CalumChamberlain](/maintainers/CalumChamberlain)

![](https://www.gravatar.com/avatar/69684a203a56f31f41383ce7bc7be23cdf2140a36eac7a6558bda31c1b53924b?d=identicon)[Mezzair](/maintainers/Mezzair)

---

Top Contributors

[![CalumChamberlain](https://avatars.githubusercontent.com/u/34173688?v=4)](https://github.com/CalumChamberlain "CalumChamberlain (8 commits)")[![johnwedgbury](https://avatars.githubusercontent.com/u/7074044?v=4)](https://github.com/johnwedgbury "johnwedgbury (8 commits)")

### Embed Badge

![Health badge](/badges/appoly-document-generator/health.svg)

```
[![Health](https://phpackages.com/badges/appoly-document-generator/health.svg)](https://phpackages.com/packages/appoly-document-generator)
```

###  Alternatives

[maatwebsite/excel

Supercharged Excel exports and imports in Laravel

12.7k144.3M712](/packages/maatwebsite-excel)[barryvdh/laravel-dompdf

A DOMPDF Wrapper for Laravel

7.3k87.6M278](/packages/barryvdh-laravel-dompdf)[barryvdh/laravel-snappy

Snappy PDF/Image for Laravel

2.8k24.8M48](/packages/barryvdh-laravel-snappy)[elibyy/tcpdf-laravel

tcpdf support for Laravel 6, 7, 8, 9, 10, 11

3542.7M5](/packages/elibyy-tcpdf-laravel)[stevebauman/autodoc-facades

Auto-generate PHP doc annotations for Laravel facades

98186.6k9](/packages/stevebauman-autodoc-facades)[highsolutions/laravel-lang-import-export

A Laravel package providing artisan commands to import and export language files from and to CSV.

25292.3k](/packages/highsolutions-laravel-lang-import-export)

PHPackages © 2026

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