PHP code example of dalencar / yii2-slate
1. Go to this page and download the library: Download dalencar/yii2-slate 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/ */
dalencar / yii2-slate example snippets
php
public function actions()
{
return [
'api' => [
'class' => 'dalencar\slate\SlateAction',
'sourceBase' => '@backend/views/doc/api',
'configFile' => '@backend/views/doc/api/config.json',
],
];
}