smousss/laravel-novalize
Generate Laravel Nova admin panels at light speed using GPT-4!
3,757
6
| Install | |
|---|---|
composer require smousss/laravel-novalize |
|
| Latest Version: | 0.1.7 |
| PHP: | ^8.1 |
| Laravel: | 9 · 10 |
| License: | MIT |
| Last Updated: | Apr 26, 2023 |
| Links: | GitHub · Packagist |
Maintainer: benjamincrozat

Create Laravel Nova admin panels at light speed!
Smousss generates Laravel Nova resources in a few seconds using GPT-4 to help you speed up your admin panel's development.
namespace App\Nova;
use …
class Post extends Resource
{
public static $model = \App\Models\Post::class;
public static $title = 'title';
public static $search = [
'id', 'title', 'slug', 'content', 'description',
];
public function fields(Request $request)
{
return [
ID::make()->sortable(),
BelongsTo::make('User'),
Text::make('Title')
->rules('required', 'max:255'),
Slug::make('Slug')
->from('Title')
->rules('required', 'max:255')
->creationRules('unique:posts,slug')
->updateRules('unique:posts,slug,{{resourceId}}'),
Textarea::make('Content')
->rules('required'),
Textarea::make('Description')
->rules('required'),
HasMany::make('Comments'),
BelongsToMany::make('Tags'),
HasMany::make('Pins'),
];
}
}
Installation
Install the package via Composer:
composer require smousss/laravel-novalize
Publish the config file:
php artisan vendor:publish --tag=novalize-config
Usage
- First, generate a secret key on smousss.com.
- Add it to your
SMOUSSS_SECRET_KEYenvironment variable. - Then, create a Nova resource based on your Post model:
php artisan smousss:novalize App\\Models\\Post. Or for multiple models:php artisan smousss:novalize App\\Models\\Post App\\Models\\Comment
Credit
Novalize for Laravel has been developed by Benjamin Crozat for Smousss (Twitter).
License
Related Packages
refinephp/laravel-ai-batch
Provider-native asynchronous batch workflows for the Laravel AI SDK.
1,056
3
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 0.1.7 | ^8.1 | ^9.0| | MIT | |
| 0.1.6 | ^8.1 | ^9.0| | MIT | |
| 0.1.5 | ^8.1 | ^9.0| | MIT | |
| 0.1.4 | ^8.1 | ^9.0| | MIT | |
| 0.1.3 | ^8.1 | ^9.0| | MIT | |
| 0.1.2 | ^8.1 | ^9.0| | MIT | |
| 0.1.1 | ^8.1 | ^9.0| | MIT | |
| 0.1.0 | ^8.1 | ^9.0| | MIT |