PHP code example of tejrajs / setting

1. Go to this page and download the library: Download tejrajs/setting 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/ */

    

tejrajs / setting example snippets


yii migrate --migrationPath=@tejrajs/setting/migrations

    //'defaultRoute' => 'setting', //set setting as default route optional
    'modules' => [
        'setting' => [
    		'class' => 'tejrajs\setting\Module',
    		'controllerNamespace' => 'tejrajs\setting\controllers'
    	],
    ],

'components' => [
	'mail' => 'tejrajs\setting\components\Email',
],

php composer.phar