thethunderturner/filament-latex
Add LaTeX math rendering to your Filament admin panel. thethunderturner/filament-latex provides an easy way to display formulas in form fields, infolists, and tables, bringing clean, readable equations to your Laravel back office.
Widget or Form components. Check if it exposes hooks for custom LaTeX processors (e.g., renderHook, compileHook).$$...$$) or full document compilation.composer.json.texlive, pdflatex).purifier or regex).\usepackage{chemfig} for chemistry diagrams?.tex uploads, third-party editors).filament-latex:config for asset paths).composer require thethunderturner/filament-latex ^1.0 --with-all-dependencies
use TheThunderTurner\FilamentLatex\Widgets\LatexEditor;
LatexEditor::make('equation')
->label('Mathematical Expression')
->required();
data-mathjax lazy loading.| Failure Scenario | Impact | Mitigation |
|---|---|---|
| LaTeX renderer (MathJax) fails | Equations render as text | Fallback to server-side rendering |
| Storage backend unavailable | Compiled assets break | Local fallback + retries |
| Filament update breaks package | Widget/form fails | Pin version + test in staging |
| LaTeX injection attack | XSS or RCE via malicious input | Input sanitization (e.g., purifier) |
| High traffic on compilation | Server overload | Rate limiting + queue jobs |
How can I help you explore Laravel packages today?