Skip to content

Laravel Nova ‚Äč

Laravel Idea detects Laravel Nova package using in the project and adds Create Nova Resource code generation. It is accessible from the main Code generation menu and the "Generate" menu called from Eloquent model class:

Paths and a base class can be configured in the settings:

Field title translation options:

No translation - without translation: Text::make("First Name")
Based on title - with direct title translation: Text::make(__("First Name"))
Based on field name with prefix - with translation using field name: Text::make("fields.first_name"). Prefix can be configured in the File | Settings | Languages & Frameworks | Laravel Idea | Laravel Packages.