PHP code example of vavepl / luya-module-portfolio
1. Go to this page and download the library: Download vavepl/luya-module-portfolio 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/ */
vavepl / luya-module-portfolio example snippets
return [
'modules' => [
// ...
'portfolio' => [
'class' => 'vavepl\portfolio\frontend\Module',
'useAppViewPath' => false, // When disabled the predefined views are used, otherwise you have to create your own views.
],
'portfolioadmin' => 'vavepl\portfolio\admin\Module',
// ...
],
];