laravel/nova-pennant
Manage Laravel Pennant feature flags in Laravel Nova. Add the PennantTool to a resource to view and toggle features per scope, control who can modify values with canRun(), require password confirmation, and support rich/class-based feature options.
PennantTool::make() to a resource’s fields() method.Tool::make()) for consistency.pennant/pennant package installed, feature flags defined). No standalone value without Pennant.composer require pennant/pennant).PennantTool::make() to a Nova resource’s fields() method (e.g., User resource).NovaServiceProvider if not auto-discovered.Gate::define('update-pennant-features', function (User $user) {
return $user->isAdmin(); // Custom logic
});
composer.json constraints for exact compatibility.Pennant::evaluate()) aligns with the package’s assumptions.nova-pennant into a single Nova resource (e.g., Settings or User).laravel/nova-pennant for releases (currently active, but low-star count suggests niche use).nova-pennant.Pennant::evaluate() results) to avoid repeated DB queries.PennantTool::make() to a Nova resource.Settings resource).How can I help you explore Laravel packages today?