fortephp/forte
Forte is a Laravel package that provides a clean, expressive API for common application needs, with sensible defaults, flexible configuration, and seamless framework integration. It helps developers reduce boilerplate, ship features faster, and keep their codebase organized and maintainable.
{!! !!}), and design-system compliance—feature decisions for internal developer platforms or SaaS products that inspect customer Laravel codebases.Consider adoption when:
Look elsewhere when:
nikic/php-parser—or general HTML parsing rather than Blade-specific semantics.For executives: This is a small, MIT-licensed parser that lets us safely automate work on Laravel Blade templates—migrations, refactors, and quality checks that would otherwise consume engineering weeks or be skipped. It is a low-cost enabler for developer-productivity and platform features, with the main risk being project maturity rather than licensing or cost.
For engineering: Adopting this replaces brittle regex transformations with a real Blade AST, giving us correctness on nested directives and components. Recommended posture: pilot on a non-critical codemod, pin the version, add regression fixtures around our own templates, and keep a fork/exit plan given the project’s early stage and small community. If the pilot holds, it becomes the foundation for linting and migration tooling rather than a one-off script.
How can I help you explore Laravel packages today?