الصفحات · Laravilt
Resources
Generate panel resources inside a plugin.
bash
This creates a full resource under src/Resources/Posts/:
text
Generated resource
php
getModel()points toApp\Models\{Name}. If the model lives in the plugin (laravilt:make blog-manager model Post), change it to the plugin's model class.
The form schema starts with a Section containing a TextInput::make('name'). Edit Schemas/PostForm.php, Schemas/PostInfolist.php and Tables/PostsTable.php to add your fields and columns.
Register in the plugin
php