amjadiqbal/laravel-pennant-dashboard
A Laravel dashboard for Pennant feature flags. Inspect flags, view activation states and scopes, and manage toggles from one clean UI, making it easier to audit and control features without digging through code or config.
composer require <vendor>/pennant-dashboard
php artisan vendor:publish --tag=pennant-dashboard-migrations
php artisan migrate
php artisan about
The package migration should not appear as pending.Rollout::decide() at the point where the decision is needed — typically a controller, middleware, policy, or job. Validate in staging for one user segment before widening exposure.If your config sets run_migrations to false, the package will not run migrations for you. Publish them explicitly and run them as part of your deployment process.
Rollout::decide() as the runtime API. Operators change rollouts in the dashboard; application code should only call Rollout::decide() rather than reading package tables directly.Rollout::decide() in a small service or middleware so flags are evaluated consistently and can be tested without scattering package calls through controllers.php artisan migrate before relying on dashboard changes. For controlled migration setups (run_migrations=false), publish migrations again and run them in the release step:
php artisan vendor:publish --tag=pennant-dashboard-migrations
php artisan migrate
php artisan about or migration status to CI/CD checks. The v1.0.2 release specifically improves visibility when the migration is missing; use that signal rather than waiting for dashboard write failures.Rollout::decide() with known users. Keep dashboard UI testing out of the application suite.php artisan migrate. v1.0.2 improves the failure mode, but it does not remove the migration requirement.run_migrations=false has a publish step. You must publish migrations again before migrating:
php artisan vendor:publish --tag=pennant-dashboard-migrations
php artisan migrate
Rollout::decide() continues reading the 1.0.0 tables until you migrate, so flags may appear to work while the dashboard is still not fully upgraded. Do not treat working decide() calls as proof that the upgrade is complete.php artisan about and the dashboard banner.run_migrations or dashboard settings were changed, run php artisan config:clear or rebuild config cache so the application sees the intended behavior.Rollout::decide() and the dashboard rather than coupling application code to internal schema.run_migrations config option, the pennant-dashboard-migrations publish tag, and the package’s dashboard route/access configuration. Use these instead of patching vendor files.How can I help you explore Laravel packages today?