Download the PHP package thethunderturner/filament-latex without Composer
On this page you can find all versions of the php package thethunderturner/filament-latex. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download thethunderturner/filament-latex
More information about thethunderturner/filament-latex
Files in thethunderturner/filament-latex
Package filament-latex
Short Description This is my package filament-latex
License MIT
Homepage https://github.com/thethunderturner/filament-latex
Informations about the package filament-latex
Filament LaTeX
Compatibility
Peek | Status | Filament | PHP |
---|---|---|---|
3.x | Current version | ^3.2.43 | ^8.1 |
4.x | To Be Added... | ^4.0 | ^8.1 |
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.
Installation
[!IMPORTANT] This branch is only compatible with Filament v3. If you are using Filament v4, please switch to branch 4.x.
Compiler Installation
Before you start, make sure you have texlive-full
or texlive-base
installed on your system. You can install it on an Unix based system (Linux/MacOS) by running:
If you are on Windows then please visit the TeX Live website and follow the instructions. \
After you have installed texlive
, find where the pdflatex
binary is located by running this in your console:
Copy the path. You will later need to paste it in the plugin configuration file.
Package Installation
You can install the package via composer:
With the install command, the package will automatically publish the migrations and the config file.
Optionally, you can publish them individually:
You can publish the config file with:
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
Package Usage
You can use the package by adding it to the plugins list of your panel.
You also need a custom theme in order 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:
Documentation
You can override the default resource, by specifying the new resource in the callback of the plugin:
Your new resource should extend the default FilamentLatexResource
class.
Now we just need to compile the tailwind classes
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-latex with dependencies
filament/filament Version ^3.2.43
spatie/laravel-package-tools Version ^1.15.0