packettide/bree-wysiwyg
A WYSIWYG field package for Bree
174
1
| Install | |
|---|---|
composer require packettide/bree-wysiwyg |
|
| PHP: | >=5.3.0 |
| Last Updated: | Jan 31, 2014 |
| Links: | GitHub · Packagist |
Maintainer: bryannielsen
#Wysiwyg
Wysiwyg is a field package for Bree which provides an advanced fieldset implementation utilizing CKEditor.
##Installation
- Install with composer by adding this line to your 'require' block:
"packettide/bree-wysiwyg": "@dev" - Run
composer update - In Laravel4 add
'Packettide\BreeWysiwyg\BreeWysiwygServiceProvider',to the providers array in app/config/app.php - Publish the package assets:
php artisan bree:assets
##Usage
$book = new Bree('Book', array(
'description' => array('type' => 'Wysiwyg')
));
$book->find(1);
echo $book;
For more examples on how to setup fieldtypes for a model refer to the Bree documentation