| Package Data | |
|---|---|
| Maintainer Username: | bryannielsen |
| Maintainer Contact: | bryan@packettide.com (Bryan Nielsen) |
| Package Create Date: | 2013-10-22 |
| Package Last Update: | 2014-01-31 |
| Language: | JavaScript |
| License: | Unknown |
| Last Refreshed: | 2025-10-27 03:22:03 |
| Package Statistics | |
|---|---|
| Total Downloads: | 114 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 2 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
#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
"packettide/bree-colorpicker": "@dev"
composer update
'Packettide\BreeColorpicker\BreeColorpickerServiceProvider', to the providers array in app/config/app.phpphp 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