Download the PHP package trexology/extendable without Composer
On this page you can find all versions of the php package trexology/extendable. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download trexology/extendable
More information about trexology/extendable
Files in trexology/extendable
Download trexology/extendable
More information about trexology/extendable
Files in trexology/extendable
Vendor trexology
Package extendable
Short Description Traits for Laravel to add and manage custom Eloquent model fields.
License MIT
Package 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 extendable
Laravel Extendable package
How to install
Composer Install
Laravel Service Provider (not required for laravel version above 5.5)
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 extendable with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package trexology/extendable contains the following files
Loading the files please wait ....