"require": {
"raftalks/ravel": "*"
}
php composer.phar update
command
'providers' => array(
'Raftalks\Ravel\RavelServiceProvider',
)
php artisan ravel:install
php composer.phar update
php artisan ravel:update
Check the config file under the package path app/config/packages/raftalks/ravel/content.php
'custom_fields' => array(
//'example'
//'post' => array(
// "{metakey}" => array('label'=>'{name}','type'=>'{text}', 'attr'=>array(), 'options'=>array())
// )
'post' => array(
'somefield' => array('label'=>'custom field','type'=>'input_checkbox'),
'custom_field3' => array('label'=>'custom field','type'=>'ng_datepicker'),
'custom_field2' => array('label'=>'custom field2','type'=>'select','options'=>array(1=>'test',2=>'two',3=>'three',4=>'four'))
),
'page' => array(),
'attachement' => array(),
),
Documentation will be updated soon