PHPackages                             mralston/tailpdf - 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. mralston/tailpdf

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

mralston/tailpdf
================

Laravel friendly wrapper for TailPDF.

v1.2.1(5mo ago)112MITPHPPHP ^8.4

Since Jan 10Pushed 5mo agoCompare

[ Source](https://github.com/mralston/tailpdf)[ Packagist](https://packagist.org/packages/mralston/tailpdf)[ Docs](https://github.com/mralston/tailpdf)[ RSS](/packages/mralston-tailpdf/feed)WikiDiscussions main Synced today

READMEChangelog (4)DependenciesVersions (5)Used By (0)

TailPdf
=======

[](#tailpdf)

Introduction
------------

[](#introduction)

Laravel friendly wrapper for TailPDF. This package renders PDF files from HTML or Blade views and Tailwind CSS using the tailpdf.com service.

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

[](#installation)

```
composer require mralston/tailpdf
```

Configuration
-------------

[](#configuration)

Register an account at  and generate an API key. Past this into your .env file.

```
TAILPDF_API_KEY=YOUR KEY HERE
```

Usage
-----

[](#usage)

Use the TailPdf facade to render your PDF.

```
