lassehaslev/laravel-fieldable

Add functionality to add field and values dynamicly to laravel. How you use them is up to you.
48
Install
composer require lassehaslev/laravel-fieldable
Latest Version:0.0.2
Last Updated:Mar 4, 2017
Links: GitHub  ·  Packagist
Maintainer: LasseHaslev

lassehaslev/fieldable

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

Related Packages

r2h/laravel-stubs

Default Laravel stubs to our liking.

19,024 0
danielme85/laravel-forceutf8

Simple Laravel 5 service class for neitanod's forceutf8. https://github.com/neit...

17,998 1
laravel-tool/benchmark

Laravel tool benchmark

8,410 2
laravel-tool/liveness

K8S liveness for Laravel

4,176 1
laravel-tool/eloquent-external-events-server

Eloquent external events server side library

3,187 1