Support the ongoing development of Laravel.io →
posted 5 years ago
Packages

Hi everyone,

for who needs a multi-domain, sub-domain, multi-tenancy Laravel App, I've just updated the following laravel package for Laravel 5.5, 5.6, 5.7, 5.8 and now 6.0 allowing to handle a multi-domain setting with the same codebase:

https://packagist.org/packages/gecche/laravel-multidomain

https://github.com/gecche/laravel-multidomain

The basic idea of the package is to manage a specific .env file for each domain, allowing for specifying all the domain settings in it (e.g. database name, mail settings ecc...).

Also Artisan commands (including queues) are extended accordingly.

The current version is the 1.1.5 but there is also a working but no-longer maintained 1.0 branch for previous Laravel versions 5.1, 5.2, 5.3 and (not tested) 5.4.

Any feedback and help is very appreciated.

Thank you all

Giacomo

Last updated 3 years ago.
0

There is a package called Tenancy, it might be closer to what you are looking for. The link to it is https://tenancy.dev/

0

hi!

Thank you, I tried that package and it is an interesting one, but actually I don't search for a package: I just released an update to my package to cope with LARAVEL 6 and I advised it! :)

If you need it and try it, any feedback will be appreciated!

Thanks

Giacomo

0

Sign in to participate in this thread!

PHPverse

Your banner here too?

gecche gecche Joined 6 Mar 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.