mapo-89/core-panel-tenancy
Composer 安装命令:
composer require mapo-89/core-panel-tenancy
包简介
Optional stancl/tenancy bootstrap addon for Laravel CorePanel.
README 文档
README
mapo-89/core-panel-tenancy is the optional stancl/tenancy addon for Laravel CorePanel.
Read-only split repository: this package repository is automatically synchronized from
mapo-89/core-panel-monorepo. Do not open pull requests or make direct changes here. All development happens in the monorepo.
The tenancy addon extends the core package with tenant-aware routes, settings, migrations, assets, and user workflows while keeping the core package tenancy-neutral.
Install
Existing Laravel app with CorePanel already installed:
composer require mapo-89/core-panel-tenancy php artisan core-panel-tenancy:install
If you install through the CorePanel installer, the addon can also be pulled in during php artisan core-panel:install.
Update
Update the addon inside an installed application:
composer update mapo-89/core-panel-tenancy php artisan core-panel:tenancy:update --force
If you usually update CorePanel and the addon together, prefer:
composer update mapo-89/core-panel mapo-89/core-panel-tenancy php artisan core-panel:update --force --with-addon-updates
That path refreshes core and addon assets first and then runs the host application's outstanding migrations once.
Typical update runbook for an existing installation with the addon:
composer update mapo-89/core-panel mapo-89/core-panel-tenancy php artisan core-panel:update --force --with-addon-updates npm install npm run build php artisan optimize:clear
If generated assets such as resources/js/actions, resources/js/routes, resources/js/wayfinder, public/build, or public/hot were previously committed, remove them from the Git index once after adopting the new .gitignore:
git rm -r --cached -- resources/js/actions resources/js/routes resources/js/wayfinder public/build public/hot
Local Package Development
For local development from the monorepo:
composer config repositories.core-panel '{"type":"path","url":"/home/manue/projects/packages/core-panel/packages/core-panel","options":{"symlink":true,"versions":{"mapo-89/core-panel":"dev-main"}}}' composer config repositories.core-panel-tenancy '{"type":"path","url":"/home/manue/projects/packages/core-panel/packages/core-panel-tenancy","options":{"symlink":true,"versions":{"mapo-89/core-panel-tenancy":"dev-main"}}}' composer require mapo-89/core-panel:dev-main mapo-89/core-panel-tenancy:dev-main
License
CorePanel Tenancy is released under the MIT license.
统计信息
- 总下载量: 21
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-05-20