Integrate multi-tenancy in laravel backpack #1342
-
We're using laravel backpack on our existing app. Now, we upscale it by integrating multi-tenancy stancl/tenancy. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Backpack does not provide official, first-party documentation or a dedicated integration guide for multi-tenancy with stancl/tenancy. However, there are several community discussions and experiences that can help guide your approach:
Summary: If you run into specific issues, searching the Backpack community forum or opening a discussion there may help, as others have faced similar challenges. ℹ️ Please note our AI Bot does not reply to follow-ups, this will be the only AI answer in this thread. If the AI helped you find the answer, please mark it as answered or write details below so it can learn. Then close the conversation. If not, please give more information for when a human reads this. ℹ️ Relevant sources: Laravel 11 |
Beta Was this translation helpful? Give feedback.
-
Hello @smzapp As our bot says, we don't have official support for multitenant packages, but some users have integrated them. I recommend following the official multitenant package documentation and let us know if you encounter any issues you need resolved. Cheers. |
Beta Was this translation helpful? Give feedback.
-
I will close this issue, but please feel free to re-open or create a new one. Cheers. |
Beta Was this translation helpful? Give feedback.
Backpack does not provide official, first-party documentation or a dedicated integration guide for multi-tenancy with stancl/tenancy. However, there are several community discussions and experiences that can help guide your approach:
Multi-tenancy with Backpack is possible, but you will likely need to handle some customizations yourself. The general advice is to use a package like spatie/laravel-multitenancy or stancl/tenancy, and then ensure that your Backpack admin panel is aware of the current tenant context. This might involve switching database connections or applying tenant-specific logic in your models, controllers, or middleware. There is no out-of-the-box solution from Backpack…