Download the PHP package mapo-89/core-panel-tenancy without Composer

On this page you can find all versions of the php package mapo-89/core-panel-tenancy. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package core-panel-tenancy

Laravel CorePanel Tenancy

Latest Stable Version Total Downloads PHP Laravel GitHub stars Last commit

Buy Me a Coffee

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:

If you install through the CorePanel installer, the addon can also be pulled in during php artisan core-panel:install.

Timestamp Conversion

When the tenancy addon is installed, the CorePanel timestamp conversion command also supports tenancy metadata tables and tenant databases:

Host applications can extend the conversion lists for addon-specific or project-specific tables in config/core-panel.php under:

The conversion uses the configured source timezone from core-panel.database.timestamp_tz_conversion.legacy_timezone and converts directly to timestamptz, so the stored instant does not depend on the PostgreSQL session timezone.

Update

Upgrading To 1.6.0 (Breaking)

CorePanel Tenancy 1.6.0 must be updated together with CorePanel 1.6.0 because central and tenant migration ownership, generated route handling, and package/host composition change.

Back up the central and tenant databases and commit or back up the host application before running:

The addon now owns its central migrations and tenant-specific package overrides. Existing migration ledger entries remain valid because migration basenames are preserved. Recognized unchanged host copies are backed up and removed; locally modified migrations remain in the host as conflicts and require manual review. A preserved migration under database/migrations/tenant overrides a package migration with the same basename, while unrelated custom tenant migration paths remain configured.

After updating, verify the central login, tenant provisioning, tenants:migrate, tenant authentication logs, generated central and tenant Wayfinder routes, and the frontend build. Use --breaking-changes only for this one-time 1.6.0 transition. Later 1.6.x updates use the normal commands below.

Update the addon inside an installed application:

If you usually update CorePanel and the addon together, prefer:

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:

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:

Local Package Development

For local development from the monorepo:

License

CorePanel Tenancy is released under the MIT license.


All versions of core-panel-tenancy with dependencies

PHP Build Version
Package Version
Requires php Version ^8.5
mapo-89/core-panel Version ^1.6 || dev-main
stancl/tenancy Version ^3.9
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package mapo-89/core-panel-tenancy contains the following files

Loading the files please wait ...