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(4y ago)0857[1 issues](https://github.com/appoly/document-generator/issues)[2 PRs](https://github.com/appoly/document-generator/pulls)MITPHPCI passing

Since Sep 17Pushed 5mo 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 today

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 79% of packages

Maintenance48

Moderate activity, may be stable

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

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

1465d 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

[craftcms/cms

Craft CMS

3.6k3.6M3.1k](/packages/craftcms-cms)[illuminate/http

The Illuminate Http package.

11937.9M6.9k](/packages/illuminate-http)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)[fleetbase/core-api

Core Framework and Resources for Fleetbase API

1235.9k20](/packages/fleetbase-core-api)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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