lyrasoft / portfolio
LYRASOFT portfolio package
Installs: 5 259
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 2
Type:windwalker-package
pkg:composer/lyrasoft/portfolio
Requires
- php: >=8.4.6
- lyrasoft/luna: ^2.2
This package is auto-updated.
Last update: 2025-10-31 08:43:41 UTC
README
Installation
Install from composer
composer require lyrasoft/portfolio
Then copy files to project
php windwalker pkg:install lyrasoft/portfolio -t routes -t migrations -t seeders
Seeders
- Add
portfolio.seeder.phptoresources/seeders/main.seeder.php - Package will auto add categories to seeders
- If you want to modify categories, edit
seeders/categories/portfolio.categories.php
Languages
Add this line to admin & front middleware:
$this->lang->loadAllFromVendor(\Lyrasoft\Portfolio\PortfolioPackage::class, 'ini');
If you want to copy language files, Run this command:
php windwalker pkg:install lyrasoft/portfolio -t lang
Register Admin Menu
Edit resources/menu/admin/sidemenu.menu.php
// 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');
