Add functionality to add field and values dynamicly to laravel. How you use them is up to you.
lassehaslev/laravel-fieldable is a Laravel package for add functionality to add field and values dynamicly to laravel. how you use them is up to you..
It currently has 0 GitHub stars and 48 downloads on Packagist (latest version 0.0.2).
Install it with composer require lassehaslev/laravel-fieldable.
Discover more Laravel packages by lassehaslev
or browse all Laravel packages to compare alternatives.
Last updated
Warning!! This package is under development and app breaking changes will come before release!!
composer require lassehaslev/laravel-fieldable
// Add new FieldType
$fieldType = FieldType::add([
'name'=>'FieldType name',
'view'=>'rellative path from config( 'fieldable.views.fields' )'
]);
// Get the full path to the field type view
// To overwrite the setting, edit fieldable.views.path in config/fieldable.php
$fieldType->viewPath();
# Install dependencies
composer install
# Install dependencies for automatic tests
yarn
# Run one time
npm run test
# Automaticly run test on changes
npm run dev