lyrasoft / member
LYRASOFT member package
Installs: 5 135
Dependents: 0
Suggesters: 1
Security: 0
Stars: 0
Watchers: 3
Forks: 2
Open Issues: 1
Type:windwalker-package
Requires
- php: >=8.2
- lyrasoft/luna: ^2.0
README
Installation
Install from composer
composer require lyrasoft/member
Then copy files to project
php windwalker pkg:install lyrasoft/member -t routes -t lang -t migrations -t seeders
Seeders
- Add
member-seeder.php
toresources/seeders/main.php
- Add
member
type tocategory-seeder.php
Languages
If you don't want to copy language files, remove -t lang
from install command.
Then add this line to admin & front middleware:
$this->lang->loadAllFromVendor('lyrasoft/member', 'ini');
Register Admin Menu
Edit resources/menu/admin/sidemenu.menu.php
// Category $menu->link('成員分類') ->to($nav->to('category_list', ['type' => 'member'])) ->icon('fal fa-sitemap'); // Portfolio $menu->link('成員管理') ->to($nav->to('member_list')) ->icon('fal fa-person');