kenepa/banner
Filament plugin to create, schedule, and display dynamic banners in your admin panel. Manage multiple banners, customize styling, allow user dismiss, scope to specific resources/pages, control render location, add links, and create banners programmatically via a facade.
composer.json requirements (likely PHP 8.1+) ensure alignment with Laravel’s LTS support. This may require minor PHP version upgrades in legacy stacks.Spade → Filament namespace, new component system).composer.json constraints and plan for potential dependency upgrades (e.g., PHP 8.1+, Laravel 10+).filament_users table changes).| Risk Area | Likelihood | Impact | Mitigation |
|---|---|---|---|
| Filament V5 Migration | High | Critical | Audit Filament V5’s breaking changes (e.g., upgrade guide). Test in staging first. |
| PHP/Laravel Version Gaps | Medium | High | Use platform-check or rector to upgrade dependencies incrementally. |
| Localization Conflicts | Low | Medium | Ensure the app’s localization system (e.g., app/lang) integrates with the package’s translation files. |
| Filament V5 Plugin Conflicts | Medium | Medium | Test with all enabled Filament plugins (e.g., Spatie Media Library, Nova imports). |
| Performance (V5 Reactivity) | Low | Low | Monitor Filament V5’s reactivity system for banner rendering lag (unlikely for static banners). |
TableActions, ModalView) for banner management?banners table migrations?laravel-shift or manual upgrades).composer require filament/filament:"^5.0"
php artisan filament:install --panels
composer require kenepa/banner:"^1.0.3"
php artisan vendor:publish --provider="Kenepa\Banner\BannerServiceProvider"
Table, Form).resources/lang:
cp vendor/kenepa/banner/lang/* resources/lang/
config/app.php to include new locales (e.g., fr).ModalView for banner editing, TableActions for bulk operations).| Component | Compatibility Notes |
|---|---|
| Filament V5 | Required. Test with Filament V5’s latest features (e.g., Spade deprecations). |
| PHP 8.1+ | Required. Use php -v to check; upgrade if needed. |
| Laravel 10.x | Recommended. May work on 9.x but untested. |
| Blade | Uses standard Blade; no conflicts expected. |
| JavaScript | Test with Filament V5’s Alpine.js/Livewire for reactivity issues. |
| Database | Assumes Eloquent; Filament V5’s filament_users table may need adjustments. |
| Translations | Supports French out-of-the-box; extend for other locales via resources/lang. |
es, de).How can I help you explore Laravel packages today?