Download the PHP package ironshark/laravel-extendable without Composer
On this page you can find all versions of the php package ironshark/laravel-extendable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ironshark/laravel-extendable
More information about ironshark/laravel-extendable
Files in ironshark/laravel-extendable
Download ironshark/laravel-extendable
More information about ironshark/laravel-extendable
Files in ironshark/laravel-extendable
Vendor ironshark
Package laravel-extendable
Short Description Traits for Laravel to add and manage custom Eloquent model fields.
License MIT
Package laravel-extendable
Short Description Traits for Laravel to add and manage custom Eloquent model fields.
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-extendable
Laravel Extendable package
How to install
Composer Install
Laravel Service Provider
Add service provider in app/config/app.php
Publish configs, templates and run migrations.
Usage
Add traits
Add model trait to models, where you want to use custom fields.
Config fields
Use app/config/custom-fields.php
to configure your fields.
Assign/retrieve customfield values
Assign custom field values as regular values.
Retrieve custom field values.
Field types
FieldType | DB DataType | Example |
---|---|---|
CustomFieldType::String | VARCHAR(255) | Lorem |
CustomFieldType::Text | TEXT | Lorem Ipsum... |
CustomFieldType::Select | VARCHAR(255) | en_us |
CustomFieldType::Radio | VARCHAR(255) | off |
CustomFieldType::Checkbox | VARCHAR(255) | 0 |
CustomFieldType::DateTime | TIMESTAMP | 2015-01-19 03:14:07 |
All versions of laravel-extendable with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package ironshark/laravel-extendable contains the following files
Loading the files please wait ....