SPATIE

  • Products
  • Open Source
  • Courses
  • Web Development
VacanciesAboutBlogDocsGuidelinesMerch ↗ Log in

Docs Laravel-multitenancy Support us

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

Support us

We invest a lot of resources into creating our best in class open source packages. You can support us by buying one of our paid products.

We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on our contact page. We publish all received postcards on our virtual postcard wall.

Upgrade guide
Requirements
Help us improve this page
Medialibrary.pro

UI components for the Media Library

Help us improve this page
  • Products
  • Open Source
  • Courses
  • Web Development
VacanciesAboutBlogDocsGuidelinesMerch ↗ Log in

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

+32 3 292 56 79

Our office is closed now, email us instead

    Enter a search term to find results in the documentation.