Form Maker plugin for FilamentPHP, which allows you to create and manage forms easily.
You can install the package via composer:
composer require afsakar/filament-form-maker
Form Maker uses Spatie Media Library package. If you haven't published the media table yet, you can publish it with:
php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="medialibrary-migrations"
If you haven't published the notifications table yet, you can publish it with:
php artisan notifications:table
Then finally you need to publish main tables and run the migrations with:
php artisan vendor:publish --tag="filament-form-maker-migrations"
php artisan migrate
You can publish the config file with:
php artisan vendor:publish --tag="filament-form-maker-config"
Optionally, you can publish the views using
php artisan vendor:publish --tag="filament-form-maker-views"
This is the contents of the published config file:
return [
'extra_collections' => [
// App\Models\User::class => 'User List',
],
// TODO: Add extra fields feature
'extra_fields' => [
// 'field_name' => Field::class
],
];
// Usage
composer test
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.