PHP code example of anovsiradj / yii2-theme-mazer

1. Go to this page and download the library: Download anovsiradj/yii2-theme-mazer 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/ */

    

anovsiradj / yii2-theme-mazer example snippets


'layout' => 'mainy', // or 'mainx'
'components' => [
	'assetManager' => [
		'forceCopy' => !YII_ENV_PROD,
		'linkAssets' => true,
		'appendTimestamp' => true,
	],
	'view' => [
		'theme' => [
			'pathMap' => [
				'@app/views' => [
					'@app/views',
					'@vendor/anovsiradj/yii2-theme-mazer/views',
				],
			],
		],
	],
],

'assetManager' => [
	'bundles' => [
		\yii2\theme\mazer\MainAsset::class => [
			'css' => [
				'app.min.css',
			],
		],
	],
],

[
	'controllerMap' => [
		'mazer' => \yii2\theme\mazer\TestController::class,
	],
]

php: >=7
yii2: *
yii2-bootstrap5: *