A very easy to use Portfolio Module to show latest work or a collection of data.
Add the Package to your composer file:
composer require vavepl/luya-module-portfolio
Add the portfolio module to the modules section your config:
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',
// ...
],
];
After successfully installation and configuration run the migrate, import and setup command to initialize the module in your project.
1.) Migrate your database.
./vendor/bin/luya migrate
2.) Import the module and migrations into your LUYA project.
./vendor/bin/luya import