Laravel Nova examples you can copy into a real project
One focused problem per page: the Nova 5 code that solves it, the parts that are easy to get wrong, and what changes when you move the same feature to Filament.
7 examples · 6 topics
Latest examples
-
Actions Nova 5.x 3 min read
Build an action with input fields, confirmation and authorization
A complete Nova 5 action that asks for a tracking number, confirms before running, only appears for authorized users and only runs on eligible orders.
-
Fields Nova 5.x 3 min read
Show, hide and require fields conditionally with dependsOn
Use Nova's dependsOn to reveal a field, make it required or read-only based on another field's value, without writing a custom Vue component.
-
Nova to Filament Nova 5.x 5 min read
Convert a Nova resource to a Filament resource
A side-by-side mapping of a Laravel Nova 5 resource to a Filament 4 resource, covering fields, table columns, filters, actions and authorization.
-
Fields Nova 5.x 3 min read
Edit invoice line items with the Repeater field
Use Nova's Repeater field to edit invoice line items inline, stored either as a JSON column or as related HasMany records.
-
Lenses Nova 5.x 3 min read
List top customers by revenue with a lens
A Nova 5 lens that joins orders, aggregates revenue per customer and keeps Nova's filtering and ordering working on the grouped query.
-
Metrics Nova 5.x 2 min read
Show revenue as a value metric with ranges and caching
A Nova 5 value metric that sums order totals, compares them with the previous period, formats them as currency and caches the result.