packettide / bree-colorpicker
There is no license information available for the latest version (dev-master) of this package.
A colorpicker field package for Bree
Package info
github.com/packettide/bree-colorpicker
Language:JavaScript
pkg:composer/packettide/bree-colorpicker
dev-master
2014-01-31 14:48 UTC
Requires
- php: >=5.3.0
- illuminate/support: 4.*
- packettide/bree: 1.*
This package is not auto-updated.
Last update: 2026-03-09 23:19:01 UTC
README
#Colorpicker
Colorpicker is a field package for Bree which provides a basic fieldset implementation using the HTML input type="color" as well as an advanced fieldset implementation utilizing Spectrum.
##Installation
- Install with composer by adding this line to your 'require' block:
"packettide/bree-colorpicker": "@dev" - Run
composer update - In Laravel4 add
'Packettide\BreeColorpicker\BreeColorpickerServiceProvider',to the providers array in app/config/app.php - Publish the package assets:
php artisan bree:assets
##Usage
$book = new Bree('Book', array(
'jacketcolor' => array('type' => 'Colorpicker', 'fieldset' => 'advanced')
));
$book->find(1);
echo $book;
For more examples on how to setup fieldtypes for a model refer to the Bree documentation