packettide / bree-wysiwyg
A WYSIWYG field package for Bree
Installs: 174
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 0
Open Issues: 0
Language:JavaScript
Requires
- php: >=5.3.0
- illuminate/support: 4.*
- packettide/bree: 1.*
This package is not auto-updated.
Last update: 2024-11-19 02:59:46 UTC
README
#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