archtechx/laravel-pages
Laravel Pages provides a lightweight way to add static pages to Laravel apps. Define pages and their Blade views, register routes automatically, and apply layouts, middleware, and clean slugs for about, legal, and marketing content.
__invoke and a view() helper," this is a candidate to standardize on one supported abstraction instead of N homegrown ones.Adopt when:
composer.json before assuming).Look elsewhere / stay put when:
For executives (one paragraph). This is a small, low-cost library that removes repetitive plumbing for simple pages, letting the team ship straightforward screens faster and with less bespoke code to maintain. The v0.3.0 release is a maintenance milestone: it adds Laravel 11 support and retires Laravel 8 align with the framework's own end-of-life, which means adopting it no longer creates an upgrade blocker. The cost is negligible and the blast radius is small because the package only touches routing for low-complexity pages. The main risk is not technical but organizational — it is a pre-1.0, single-maintainer project, so we should pin versions and keep our usage shallow enough to replace in days, not months. Recommendation: approve for evaluation on the Laravel 11 upgrade, with a 1–2 sprint trial on one non-critical surface before broader standardization.
For engineering (the actual ask). v0.3.0 is a support-matrix release, not a feature release — expect no API surface change, but treat it as a breaking change for anyone on Laravel 8 and an unverified change for 9/10 until CI proves otherwise. Concretely:
illuminate/* constraints in composer.lock.private function chain, that's the signal it should have been a controller.routes/web.php. Estimate that cost before you spread it across the codebase.How can I help you explore Laravel packages today?