PHPackages                             thethunderturner/filament-latex - 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. thethunderturner/filament-latex

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

thethunderturner/filament-latex
===============================

This is my package filament-latex

v1.4.1(2mo ago)10660↓30%2[12 issues](https://github.com/thethunderturner/filament-latex/issues)MITPHPPHP ^8.2CI passing

Since Dec 12Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/thethunderturner/filament-latex)[ Packagist](https://packagist.org/packages/thethunderturner/filament-latex)[ Docs](https://github.com/thethunderturner/filament-latex)[ GitHub Sponsors](https://github.com/thethunderturner)[ RSS](/packages/thethunderturner-filament-latex/feed)WikiDiscussions 4.x Synced 1mo ago

READMEChangelog (10)Dependencies (13)Versions (26)Used By (0)

Filament LaTeX
==============

[](#filament-latex)

[![Latest Version on Packagist](https://camo.githubusercontent.com/1cfd9b3f9c0f6331e04930086189b6c64fe9eb69a0cdcf4ef4d689c64cfc82db/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7468657468756e6465727475726e65722f66696c616d656e742d6c617465782e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/thethunderturner/filament-latex)[![GitHub Tests Action Status](https://camo.githubusercontent.com/4c851ba3f7ea47d24367229615425d02a9d56f727db435cb6d34ccb719b25e99/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7468657468756e6465727475726e65722f66696c616d656e742d6c617465782f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/thethunderturner/filament-latex/actions?query=workflow%3Arun-tests+branch%3Amain)[![Fix PHP Code Styling](https://github.com/thethunderturner/filament-latex/actions/workflows/fix-php-code-styling.yml/badge.svg)](https://github.com/thethunderturner/filament-latex/actions/workflows/fix-php-code-styling.yml)[![Total Downloads](https://camo.githubusercontent.com/ef3d0f627e85ab4a5e7e065f7027892f82d690b001e76ef3b29b754c6c3677e6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7468657468756e6465727475726e65722f66696c616d656e742d6c617465782e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/thethunderturner/filament-latex)

Compatibility
-------------

[](#compatibility)

PeekStatusFilamentPHP[3.x](https://github.com/thethunderturner/filament-latex/edit/3.x)Previous version^3.2.43^8.1[4.x](https://github.com/thethunderturner/filament-latex/edit/4.x)Current version^4.0, ^5.0^8.2Demo
----

[](#demo)

Filament LaTeX is a powerful package that allows you to generate PDFs from LaTeX templates. The plugin is still in development, but the basic functionality is implemented.

[![filament-latex](https://private-user-images.githubusercontent.com/64212185/398560452-1000dbe9-dd74-4507-8031-d0ad9f5a4170.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQ4NTY4OTYsIm5iZiI6MTc3NDg1NjU5NiwicGF0aCI6Ii82NDIxMjE4NS8zOTg1NjA0NTItMTAwMGRiZTktZGQ3NC00NTA3LTgwMzEtZDBhZDlmNWE0MTcwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAzMzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMzMwVDA3NDMxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRjYmEzMWRhM2VmZDEyYmY2NTQ3NjFkNzNjZjVjN2UxYTdjM2U5NTBkNjRmNDU4ZmQ4YjQ4ZDA3MzJlOTM1ZTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.CCh38Dgqw0Xz8L4UBkkNsn9S5x_M8omHTmtbRLFU8-M)](https://private-user-images.githubusercontent.com/64212185/398560452-1000dbe9-dd74-4507-8031-d0ad9f5a4170.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3NzQ4NTY4OTYsIm5iZiI6MTc3NDg1NjU5NiwicGF0aCI6Ii82NDIxMjE4NS8zOTg1NjA0NTItMTAwMGRiZTktZGQ3NC00NTA3LTgwMzEtZDBhZDlmNWE0MTcwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjAzMzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYwMzMwVDA3NDMxNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTRjYmEzMWRhM2VmZDEyYmY2NTQ3NjFkNzNjZjVjN2UxYTdjM2U5NTBkNjRmNDU4ZmQ4YjQ4ZDA3MzJlOTM1ZTUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.CCh38Dgqw0Xz8L4UBkkNsn9S5x_M8omHTmtbRLFU8-M)[![filament-latex-upload](https://private-user-images.githubusercontent.com/64212185/398560459-b0284b90-041b-419f-b7f5-bb4687c3e8dd.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6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C1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTFmYTJiN2Y5MDI2MTVlNzkyMzZlNDRhODVkN2NjYjljOTM4ZDExNzY3ZTJkZmRiZDQxODk0ODdkN2UwMjE0MWYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.3mS3NcCx7wezZC1lNh9mjm0WDCCfGKDfxs9dIfSb3xY)Installation
------------

[](#installation)

Important

This branch is only compatible with Filament v3. If you are using Filament v4, please switch to branch 4.x.

### Compiler Installation

[](#compiler-installation)

Before you start, make sure you have `texlive-full` or `texlive-base` installed on your system. You can install it on a Unix-based system (Linux/macOS) by running:

```
sudo apt-get install texlive-full # for debian based systems
sudo pacman -S texlive-full # for arch based systems
brew install texlive-full # for MacOS
```

If you are on Windows, then please visit the [TeX Live website](https://tug.org/texlive/windows.html) and follow the instructions.
After you have installed `texlive`, find where the `pdflatex` binary is located by running this in your console:

```
which pdflatex # for Unix based systems
where pdflatex # for Windows
```

Copy the path. You will later need to paste it in the plugin configuration file.

### Package Installation

[](#package-installation)

You can install the package via composer:

```
composer require thethunderturner/filament-latex
```

With the installation command, the package will automatically publish the migrations and the config file.

```
php artisan filament-latex:install
```

Optionally, you can publish them individually:

```
php artisan vendor:publish --tag="filament-latex-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="filament-latex-config"
```

After publishing the path, make sure you replace the path of your `pdflatex` binary in the `config/filament-latex.php` file.

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="filament-latex-views"
```

### Package Usage

[](#package-usage)

You can use the package by adding it to the plugins list of your panel.

```
->plugins([
    // ...
    FilamentLatexPlugin::make(),
]);
```

You also need a [custom theme](https://filamentphp.com/docs/3.x/panels/themes#creating-a-custom-theme) to compile some of the tailwind classes. You need to add the path of the blade views in the content array of `tailwind.config.js` of your theme like so:

```
@source '../../../../vendor/thethunderturner/filament-latex/resources/views/**/*.blade.php';
```

### Documentation

[](#documentation)

You can override the default resource by specifying the new resource in the callback of the plugin:

```
FilamentLatexPlugin::make()
    ->resource('path/to/your/resource')
```

Your new resource should extend the default `FilamentLatexResource` class.

Now we just need to compile the tailwind classes

```
npm install
npm run build
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](https://github.com/thethunderturner/filament-latex/security/policy) on how to report security vulnerabilities.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

44

—

FairBetter than 92% of packages

Maintenance66

Regular maintenance activity

Popularity26

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 94.3% 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 ~22 days

Recently: every ~37 days

Total

22

Last Release

56d ago

Major Versions

v1.2.8 → 3.x-dev2025-09-29

v1.4.1 → 4.x-dev2026-03-24

PHP version history (2 changes)1.0.0PHP ^8.1

v1.2.8PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/64212185?v=4)[TheThunderTurner](/maintainers/thethunderturner)[@thethunderturner](https://github.com/thethunderturner)

---

Top Contributors

[![thethunderturner](https://avatars.githubusercontent.com/u/64212185?v=4)](https://github.com/thethunderturner "thethunderturner (282 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (11 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (6 commits)")

---

Tags

laravelpdfpdfjsfilamentlatexthethunderturnerfilament-latex

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/thethunderturner-filament-latex/health.svg)

```
[![Health](https://phpackages.com/badges/thethunderturner-filament-latex/health.svg)](https://phpackages.com/packages/thethunderturner-filament-latex)
```

###  Alternatives

[guava/filament-modal-relation-managers

Allows you to embed relation managers inside filament modals.

7565.0k4](/packages/guava-filament-modal-relation-managers)[3x1io/filament-excel

Excel Export for Resources

224.2k1](/packages/3x1io-filament-excel)[initred/laravel-tabula

laravel-tabula is a tool for liberating data tables trapped inside PDF files for the Laravel framework.

1418.6k](/packages/initred-laravel-tabula)[a2insights/filament-saas

Filament Saas for A2Insights

161.1k](/packages/a2insights-filament-saas)

PHPackages © 2026

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