mapo-89/core-panel-tenancy

Optional stancl/tenancy bootstrap addon for Laravel CorePanel.

Maintainers

Package info

github.com/mapo-89/core-panel-tenancy

pkg:composer/mapo-89/core-panel-tenancy

Statistics

Installs: 3

Dependents: 0

Suggesters: 0

Stars: 0

1.1.4 2026-05-20 23:03 UTC

This package is auto-updated.

Last update: 2026-05-20 23:04:20 UTC


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.