PHP code example of p2made / p2y2-startbootstrap-themes
1. Go to this page and download the library: Download p2made/p2y2-startbootstrap-themes 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/ */
p2made / p2y2-startbootstrap-themes example snippets
'components' => [
'view' => [
'theme' => [
'pathMap' => [
'@app/views' => '@vendor/p2made/p2y2-startbootstrap-themes/views/agency',
'@app/views' => '@vendor/p2made/p2y2-startbootstrap-themes/views/business-casual',
'@app/views' => '@vendor/p2made/p2y2-startbootstrap-themes/views/business-frontpage',
'@app/views' => '@vendor/p2made/p2y2-startbootstrap-themes/views/creative',
'@app/views' => '@vendor/p2made/p2y2-startbootstrap-themes/views/freelancer',
'@app/views' => '@vendor/p2made/p2y2-startbootstrap-themes/views/grayscale',
'@app/views' => '@vendor/p2made/p2y2-startbootstrap-themes/views/heroic-features',
'@app/views' => '@vendor/p2made/p2y2-startbootstrap-themes/views/landing-page',
'@app/views' => '@vendor/p2made/p2y2-startbootstrap-themes/views/modern-business',
'@app/views' => '@vendor/p2made/p2y2-startbootstrap-themes/views/new-age',
'@app/views' => '@vendor/p2made/p2y2-startbootstrap-themes/views/one-page-wonder',
'@app/views' => '@vendor/p2made/p2y2-startbootstrap-themes/views/stylish-portfolio',
],
],
],
],
public function actions()
{
return [
...
'page' => [
'class' => 'yii\web\ViewAction',
],
];
}
php composer.phar
'components' => [
'assetManager' => [
'bundles' => [
'yii\web\JqueryAsset' => [
'sourcePath' => null, 'js' => [],
],
'yii\bootstrap\BootstrapAsset' => [
'sourcePath' => null, 'css' => [],
],
'yii\bootstrap\BootstrapPluginAsset' => [
'sourcePath' => null, 'js' => [],
],
'yii\jui\JuiAsset' => [
'sourcePath' => null, 'css' => [], 'js' => [],
],
'\rmrevin\yii\fontawesome\AssetBundle' => [
'sourcePath' => null, 'css' => [],
],
],
],
...
],