New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

packettide/bree-colorpicker

A colorpicker field package for Bree
114
Install
composer require packettide/bree-colorpicker:dev-master
PHP:>=5.3.0
Last Updated:Jan 31, 2014
Links: GitHub  ·  Packagist
Maintainer: bryannielsen

#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

  1. Install with composer by adding this line to your 'require' block: "packettide/bree-colorpicker": "@dev"
  2. Run composer update
  3. In Laravel4 add 'Packettide\BreeColorpicker\BreeColorpickerServiceProvider', to the providers array in app/config/app.php
  4. 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

Related Packages

packettide/bree-wysiwyg

A WYSIWYG field package for Bree

174 1
jonassiewertsen/statamic-external-link

A Statamic fieldtype for external links

88,338 8
aryehraber/statamic-uuid

One of its kind; unlike anything else

33,172 3
krakero/tailwind-fieldtype

A Tailwind CSS color picker fieldtype for Statamic

1,733 4
packettide/sire

Better Laravel 4 Generators

142 7