Filament
Full Guide Building Application Using Laravel and Filament
Create a resource:
This will create files in app/Filament/Resources
Your new resource class lives in NameResource.php
php artisan make:filament-resource Customer --generate
Form
Code | ||
---|---|---|
Simple text input |
|
|
Select / Option |
|
|
Toggle button | Toggle::make('is_admin') | use Filament\Forms\Components\Toggle; |
Markdown Editor | MarkdownEditor::make('content') | use Filament\Forms\Components\MarkdownEditor; |
Table
Last updated