lassehaslev / laravel-fieldable
There is no license information available for the latest version (0.0.2) of this package.
Add functionality to add field and values dynamicly to laravel. How you use them is up to you.
Package info
github.com/LasseHaslev/LaravelFieldable
Type:laravel-plugin
pkg:composer/lassehaslev/laravel-fieldable
0.0.2
2017-03-04 14:42 UTC
Requires
- lassehaslev/laravel-sortable: 0.0.x
Requires (Dev)
- orchestra/testbench: 3.3.x
- phpunit/phpunit: ^5.6
This package is not auto-updated.
Last update: 2026-03-15 03:52:24 UTC
README
Warning!! This package is under development and app breaking changes will come before release!!
Install
composer require lassehaslev/laravel-fieldable
Usage
API
FieldType
// 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();
Development
Install dependencies
# Install dependencies composer install # Install dependencies for automatic tests yarn
Runing tests
# Run one time npm run test # Automaticly run test on changes npm run dev