Skip to content

Upgrading to v4

Tenancy v4 works fundamentally the same way as Tenancy v3, however, significant structural changes have been made.

This means that to upgrade a Tenancy v3 app, you’ll need to:

  • Use a fresh version of the config (and reapply your changes),
  • Use a fresh version of the TenancyServiceProvider (and reapply your changes),
  • Many classes have been moved to new namespaces, only a few have been renamed. You should go over all use Stancl\Tenancy\* imports and update them as needed.