PHP code example of lyrasoft / portfolio
1. Go to this page and download the library: Download lyrasoft/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/ */
lyrasoft / portfolio example snippets
$this->lang->loadAllFromVendor('lyrasoft/portfolio', 'ini');
// Category
$menu->link('作品分類')
->to($nav->to('category_list', ['type' => 'portfolio']))
->icon('fal fa-sitemap');
// Portfolio
$menu->link('作品管理')
->to($nav->to('portfolio_list'))
->icon('fal fa-images');