igne-agency / laravel-nova
Reusable Laravel Nova 5 features for IGNE projects: a grouped main menu, panel defaults, branding, resource helpers, enum badges, filters, Dutch translations and a custom 403 page.
Requires
- php: ^8.4
- illuminate/cache: ^13.0
- illuminate/contracts: ^13.0
- illuminate/database: ^13.0
- illuminate/http: ^13.0
- illuminate/support: ^13.0
- illuminate/translation: ^13.0
- laravel/nova: ^5.11
Requires (Dev)
- larastan/larastan: ^3.9
- laravel/nova-devtool: ^1.11
- laravel/pint: ^1.20
- orchestra/testbench: ^11.0
- pestphp/pest: ^5.3
- pestphp/pest-plugin-laravel: ^5.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-25 15:18:00 UTC
README
The Laravel Nova features every IGNE project needs, in one package. Install it, and the panel is set up the way all our panels are; each feature is opt-in or can be turned off per project.
Why
Every Nova project rebuilt the same pieces, each slightly differently: a grouped sidebar, a Dutch translation of Nova, brand colours converted to RGB by hand, a guard against sort links that crash the index, enum badges and period filters. This package is those pieces once, tested, and the same in every project.
Features
| Feature | Default | Turn it on or off |
|---|---|---|
Main menu grouped by your NovaMenuGroup enum, with cached badges |
Off | Call GroupedMenu from Nova::mainMenu(); see Main menu. |
| Breadcrumbs, initial path and the IGNE footer | On | layout; see Layout. |
| The user's preferred locale and timezone | On | Laravel's HasLocalePreference and IgneNova::resolveTimezoneUsing(); see Localization. |
| Logo and brand colour from one hex colour or a full scale | Off | brand; see Branding. |
| The app's own Nova stylesheets and scripts | Off | assets.styles, assets.scripts; see Assets. |
| Lazy loading of the images Nova renders | On | assets.lazy_images; see Assets. |
The app's own routes on Nova's path, from routes/admin.php |
On when the file exists | routes.file; see Routes. |
| Ignore sorts on unknown columns instead of a SQL error | Off | IgnoresUnknownSortColumns on the base resource; see Resource helpers. |
| Resource labels from translations keyed by URI key | Off | TranslatesLabels on the base resource; see Resource helpers. |
| Badge field driven by an enum's labels and colours | Off | EnumBadge::make(); see Fields and filters. |
| Filter on a timestamp within the last days | Off | new CreatedWithin; see Fields and filters. |
| Nova in Dutch, overridable per key by the app | On | The app's lang/vendor/nova/nl.json wins; see Translations. |
| A 403 page with "Go back" and "Log out" | On | See Error pages. |
Requirements
- PHP 8.4
- Laravel 13
- Laravel Nova 5.11 or later
Install
composer require igne-agency/laravel-nova
Publish the config to change the defaults, and the translations to change the package's texts:
php artisan vendor:publish --tag=igne-nova-config php artisan vendor:publish --tag=igne-nova-lang
Publish routes/admin.php to add the app's own routes on Nova's path:
php artisan vendor:publish --tag=igne-nova-routes