SPATIE

Services
Our philosophy Packages Postcards Guidelines Documentation
Products Blog About
Login Work with us

Docs Laravel-multitenancy Questions and issues

Other versions for crawler v4 v3 v2 v1
    • Introduction
    • Upgrade guide
    • Support us
    • Requirements
    • Questions and issues
    • Changelog

    Installation

    • Base installation
    • Using a single database
    • Using multiple databases
    • Determining the current tenant

    Basic usage

    • Automatically determining the current tenant
    • Working with the current tenant
    • Making queues tenant aware

    Advanced usage

    • Ensuring a current tenant has been set
    • Looping over a collection of tenants
    • Making Artisan command tenant aware
    • Using a custom tenant model
    • Listening for events
    • Using tenant specific facades
    • Executing code for tenants and landlords

    Using tasks to prepare the environment

    • Overview
    • Creating your own task
    • Switching databases
    • Switching route cache paths
    • Prefixing cache

Questions and issues

Find yourself stuck using the package? Found a bug? Do you have general questions or suggestions for improving laravel-multitenancy? Feel free to create an issue on GitHub, we'll try to address it as soon as possible.

If you've found a bug regarding security please mail freek@spatie.be instead of using the issue tracker.

Requirements
Changelog
Help us improve this page
Flare

An error tracker especially made for Laravel

Help us improve this page
  • Services
  • Open source
  • Products
  • Courses
AboutBlogNewsletterDocsGuidelines

Kruikstraat 22, Box 12
2018 Antwerp, Belgium
info@spatie.be
+32 3 292 56 79
  • GitHub
  • Instagram
  • LinkedIn
  • X
  • Bluesky
  • Mastodon
  • YouTube
  • Privacy
  • Disclaimer

+32 3 292 56 79

Our office is closed now, email us instead

A good
match?

What we do best

  • All things Laravel
  • Custom frontend components
  • Building APIs
  • AI-powered features
  • Simplifying things
  • Clean solutions
  • Integrating services

Not our cup of tea

  • WordPress themes
  • Cutting corners
  • Free mockups to win a job
  • "Just execute the briefing"

In short: we'd like to be a substantial part of your project.

Get in touch via email

    Enter a search term to find results in the documentation.