spatie/laravel-demo-mode
Protect work-in-progress Laravel apps from prying eyes with a demo-mode middleware. Redirects visitors (including unknown routes) to an “under construction” URL until they visit a configurable access URL (e.g. /demo) to unlock protected routes.
spatie/laravel-permission).For Executives: "This package lets us show clients progress without exposing unfinished work—saving dev time and reducing risk. For example, we can toggle demo mode for a new feature during sprint reviews, then disable it post-launch. It’s like a ‘private preview’ switch for Laravel apps, with zero auth overhead."
For Engineering:
"A 10-minute install gives us a /demo unlock route and /under-construction redirect for WIP features. No user management, no database bloat—just middleware magic. Perfect for client demos or internal dogfooding. Tradeoff: Not for production-grade security, but that’s intentional."
How can I help you explore Laravel packages today?