Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Multidomain Laravel Package

gecche/laravel-multidomain

Run one Laravel codebase across multiple domains/tenants. Automatically load per-domain .env, storage paths, and database connections so each customer can have isolated config, data, and files while sharing the same application code.

View on GitHub
Deep Wiki
Context7
13.0

Changed

  • composer.json updated for Laravel 13.x
  • Updated tests for PHPUnit 12 with coverage config
12.2

Changed

  • Bugfix (removed empty elements from .env files array)
12.1

Changed

  • Bugfix (cache correctly included in trait)
11.2

Changed

  • Bugfix (cache correctly included in trait)
11.1

Changed

  • Bugfix for discovering commands
  • Bugfix for passing environmentPath and domainParams to the application constructor
  • Updated README.md
11.0

Changed

  • composer.json updated for Laravel 11.x
  • Updated README.md for new streamlined installation instructions
12.0

Changed

  • composer.json updated for Laravel 12.x
  • Updated tests for PHPUnit 11
10.2

Changed

  • Refixed a problem in the queue:listen command :)
10.1

Changed

  • Fixed a problem in the queue:listen command
10.0

Changed

  • Integrated PR #72 for adding more output options to the domain:list command
  • Integrated PR #88 for better handling git files in local development
  • Version numbering following Laravel versions from 10.x
  • Updated some methods to adapt to Laravel 10.x
  • composer.json updated for Laravel 10.x
5.0

Changed

  • Updated some core methods to adapt to Laravel 9.x changes
  • composer.json updated for Laravel 9.x
4.2.1

Changed

  • Improved PHP 8.1 compatibility, see PR #68
  • README.md updated for misleading update_env command's instructions
4.2

Added

  • New Application's constructor param domainParams for storing miscellaneous params used for handling domains: the first one is the domain_detection_function_web param which accept a Closure for customizing the doamin detection function instead of relying upon $_SERVER['SERVER_NAME'] value

Changed

  • README.md updated
3.9

Added

  • New Application's constructor param domainParams for storing miscellaneous params used for handling domains: the first one is the domain_detection_function_web param which accept a Closure for customizing the doamin detection function instead of relying upon $_SERVER['SERVER_NAME'] value

Changed

  • README.md updated
2.9

Added

  • New Application's constructor param domainParams for storing miscellaneous params used for handling domains: the first one is the domain_detection_function_web param which accept a Closure for customizing the doamin detection function instead of relying upon $_SERVER['SERVER_NAME'] value

Changed

  • README.md updated
1.4.9

Added

  • New Application's constructor param domainParams for storing miscellaneous params used for handling domains: the first one is the domain_detection_function_web param which accept a Closure for customizing the doamin detection function instead of relying upon $_SERVER['SERVER_NAME'] value

Changed

  • README.md updated
1.3.9

Added

  • New Application's constructor param domainParams for storing miscellaneous params used for handling domains: the first one is the domain_detection_function_web param which accept a Closure for customizing the doamin detection function instead of relying upon $_SERVER['SERVER_NAME'] value

Changed

  • README.md updated
1.2.9

Added

  • New Application's constructor param domainParams for storing miscellaneous params used for handling domains: the first one is the domain_detection_function_web param which accept a Closure for customizing the doamin detection function instead of relying upon $_SERVER['SERVER_NAME'] value

Changed

  • README.md updated
1.1.15

Added

  • New Application's constructor param domainParams for storing miscellaneous params used for handling domains: the first one is the domain_detection_function_web param which accept a Closure for customizing the doamin detection function instead of relying upon $_SERVER['SERVER_NAME'] value

Changed

  • README.md updated
4.1

Changed

  • Updated queue:listen command adapting it to the new Laravel 8.x signature
  • Compatibility with Laravel Horizon
4.0

Changed

  • composer.json updated for Laravel 8.x
3.8

Changed

  • New logic for default environment files and storage folders
  • Tests improved and updated
  • README.md updated
2.8

Changed

  • New logic for default environment files and storage folders
  • Tests improved and updated
  • README.md updated
1.4.8

Changed

  • New logic for default environment files and storage folders
  • Tests improved and updated
  • README.md updated
1.3.8

Changed

  • New logic for default environment files and storage folders
  • Tests improved and updated
  • README.md updated
1.2.8

Changed

  • New logic for default environment files and storage folders
  • Tests improved and updated
  • README.md updated
1.1.14

Changed

  • New logic for default environment files and storage folders
  • Tests improved and updated
  • README.md updated
3.7

Changed

  • README.md updated with some minor correction and frontend image. (I've done a mistake with tag names: from 3.2 to 3.7 instead of 3.3 :) )
2.7

Changed

  • README.md updated with some minor correction and frontend image.
1.4.7

Changed

  • README.md updated with some minor correction and frontend image.
1.3.7

Changed

  • README.md updated with some minor correction and frontend image.
1.2.7

Changed

  • README.md updated with some minor correction and frontend image.
1.1.13

Changed

  • README.md updated with some minor correction and frontend image.
3.2

Changed

  • Improved robustness in environmentFileDomain when no domain is given.
2.6

Changed

  • Improved robustness in environmentFileDomain when no domain is given.
1.4.6

Changed

  • Improved robustness in environmentFileDomain when no domain is given.
1.3.6

Changed

  • Improved robustness in environmentFileDomain when no domain is given.
1.2.6

Changed

  • Improved robustness in environmentFileDomain when no domain is given.
1.1.12

Changed

  • Improved robustness in environmentFileDomain when no domain is given.
3.1

Added

  • An optional argument to the Application constructor for handling the storage of env files in a different folder than the root Laravel's app folder. With new tests.
  • The env_path helper to get the folder in which env files are placed.

Changed

  • README.md updated
2.5

Added

  • An optional argument to the Application constructor for handling the storage of env files in a different folder than the root Laravel's app folder. With new tests.
  • The env_path helper to get the folder in which env files are placed.

Changed

  • README.md updated
1.4.5

Added

  • An optional argument to the Application constructor for handling the storage of env files in a different folder than the root Laravel's app folder. With new tests.
  • The env_path helper to get the folder in which env files are placed.

Changed

  • README.md updated
1.3.5

Added

  • An optional argument to the Application constructor for handling the storage of env files in a different folder than the root Laravel's app folder. With new tests.
  • The env_path helper to get the folder in which env files are placed.

Changed

  • README.md updated
1.2.5

Added

  • An optional argument to the Application constructor for handling the storage of env files in a different folder than the root Laravel's app folder. With new tests.
  • The env_path helper to get the folder in which env files are placed.

Changed

  • README.md updated
1.1.11

Added

  • An optional argument to the Application constructor for handling the storage of env files in a different folder than the root Laravel's app folder. With new tests.
  • The env_path helper to get the folder in which env files are placed.

Changed

  • README.md updated
3.0

Changed

  • composer.json updated for Laravel 7.x
2.4

Changed

  • Force the detection of the domain when trying to access to domain info if the domain has never been detected
  • Improved tests
1.4.4

Changed

  • Force the detection of the domain when trying to access to domain info if the domain has never been detected
  • Improved tests
1.3.4

Changed

  • Force the detection of the domain when trying to access to domain info if the domain has never been detected
  • Improved tests
1.2.4

Changed

  • Force the detection of the domain when trying to access to domain info if the domain has never been detected
  • Improved tests
1.1.10

Changed

  • Force the detection of the domain when trying to access to domain info if the domain has never been detected
  • Improved tests
2.3

Changed

  • README.md: added notes on storage:link command
1.4.3

Changed

  • README.md: added notes on storage:link command
1.3.3

Changed

  • README.md: added notes on storage:link command
1.2.3

Changed

  • README.md: added notes on storage:link command
1.1.9

Changed

  • README.md: added notes on storage:link command
2.2

Changed

  • Changed Gecche\Multidomain\Foundation\Application for handling separated cache files for each domain when using the route:cache or event:cache Laravel commands
1.4.2

Changed

  • Changed Gecche\Multidomain\Foundation\Application for handling separated cache files for each domain when using the route:cache or event:cache Laravel commands
1.3.2

Changed

  • Changed Gecche\Multidomain\Foundation\Application for handling separated cache files for each domain when using the route:cache Laravel command
1.2.2

Changed

  • Changed Gecche\Multidomain\Foundation\Application for handling separated cache files for each domain when using the route:cache Laravel command
1.1.8

Changed

  • Changed Gecche\Multidomain\Foundation\Application for handling separated cache files for each domain when using the route:cache Laravel command
2.1

Changed

  • Bugfix in Gecche\Multidomain\Foundation\Console\DomainCommandTrait: running the domain:add command, sometimes some lines in the stub .env file were skipped and not replicated in the new .env. file
1.4.1

Changed

  • Bugfix in Gecche\Multidomain\Foundation\Console\DomainCommandTrait: running the domain:add command, sometimes some lines in the stub .env file were skipped and not replicated in the new .env. file
1.3.1

Changed

  • Bugfix in Gecche\Multidomain\Foundation\Console\DomainCommandTrait: running the domain:add command, sometimes some lines in the stub .env file were skipped and not replicated in the new .env. file
1.2.1

Changed

  • Bugfix in Gecche\Multidomain\Foundation\Console\DomainCommandTrait: running the domain:add command, sometimes some lines in the stub .env file were skipped and not replicated in the new .env. file
1.1.7

Changed

  • Bugfix in Gecche\Multidomain\Foundation\Console\DomainCommandTrait: running the domain:add command, sometimes some lines in the stub .env file were skipped and not replicated in the new .env. file
2.0

Changed

  • composer.json updated for Laravel 6.x
1.4.0

Changed

  • composer.json updated for Laravel 5.8
1.3.0

Changed

  • composer.json updated for Laravel 5.7
  • Bugfix in Gecche\Multidomain\Queue\Listener due to changes in handling worker commands in the parent class.
1.2.0

Changed

  • composer.json updated for Laravel 5.6
1.1.6

Added

  • Test suites

Changed

  • Namespace of DomainConsoleServiceProvider provider from Gecche\Multidomain\Foundation to Gecche\Multidomain\Foundation\Providers in order to respect folder struture.
  • composer.json file for testing purposes (from now Git branches are separated for each Laravel release starting from 5.5 and as pointed out in the docs)
1.1.5

Changed

  • Compatibility with Laravel 6.x (note that previous version 1.1.4 is also compatible with Laravel 6.0.x including laravel/helpers in the composer.json. file of your Laravel Application)
1.1.4

Changed

  • Better English in README.md :) Thanks to leadegroot.
1.1.3

Changed

  • README.md improved with queue example
1.1.2

Added

  • Added new domain:list artisan command displaying info of installed domains
  • Added domainsList() method to Application
1.1.1

Added

  • This CHANGELOG.md file.
  • Added the handling of config:cache artisan command by multiple cache config files
1.1.0

Added

  • Initial version for Laravel 5.5.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport