PHP code example of rtcustom / ravel

1. Go to this page and download the library: Download rtcustom/ravel library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

rtcustom / ravel example snippets


	"	"raftalks/ravel": "*"
	}


'providers' => array(
		
		'Raftalks\Ravel\RavelServiceProvider',

)


'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(),

		),

 php artisan ravel:install

php composer.phar update

php artisan ravel:update