- Install the package via composer:
composer require batiscaff/laravel-fields-kit
- Optional: The service provider will automatically get registered. Or you may manually add the service provider in your config/app.php file:
'providers' => [
// ...
Batiscaff\FieldsKit\FieldsKitServiceProvider::class,
];
- You should publish the migration and the config/fields-kit.php config file with:
php artisan vendor:publish --provider="Batiscaff\FieldsKit\FieldsKitServiceProvider"
- Run the migrations: After the config and migration have been published and configured, you can create the tables for this package by running:
php artisan migrate