v2.2.0 #15
mortalkiller
announced in
Announcements
v2.2.0
#15
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
v2.2.0 — Artisan page header generator
Added
make:filament-page-headerArtisan command for setting up page headers on existing Filament Resources.HasPageHeader.--pageoptions.--panelsupport for applications with multiple Filament panels.--no-pagesto generate the conventional header schema without modifying Resource page classes.--forceto deliberately replace an existing generated header schema.Example:
Or explicitly:
php artisan make:filament-page-header OrderResource \ --panel=admin \ --page=list \ --page=view \ --page=editThe generator creates the conventional Resource header schema and safely adds
HasPageHeaderto the selected standard Resource pages without duplicating imports or trait declarations.Documentation
getPageHeaderRecord().Improved
HasPageHeaderimports and trait declarations.Testing
/.Upgrade notes
This release is backwards compatible with existing
2.xapplications.No application code or configuration changes are required when upgrading.
After updating the package, continue to publish Filament assets as usual:
This discussion was created from the release v2.2.0.
All reactions