All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog,
- Bugfix for discovering commands
- Bugfix for passing environmentPath and domainParams to the application constructor
- Updated README.md
composer.json
updated for Laravel 11.x- Updated README.md for new streamlined installation instructions
- Refixed a problem in the
queue:listen
command :)
- Fixed a problem in the
queue:listen
command
- 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
- Updated some core methods to adapt to Laravel 9.x changes
composer.json
updated for Laravel 9.x
- Improved PHP 8.1 compatibility, see PR #68
- README.md updated for misleading
update_env
command's instructions
- New
Application
's constructor paramdomainParams
for storing miscellaneous params used for handling domains: the first one is thedomain_detection_function_web
param which accept aClosure
for customizing the doamin detection function instead of relying upon$_SERVER['SERVER_NAME']
value
- README.md updated
- Updated
queue:listen
command adapting it to the new Laravel 8.x signature - Compatibility with Laravel Horizon
composer.json
updated for Laravel 8.x
- New
Application
's constructor paramdomainParams
for storing miscellaneous params used for handling domains: the first one is thedomain_detection_function_web
param which accept aClosure
for customizing the doamin detection function instead of relying upon$_SERVER['SERVER_NAME']
value
- README.md updated
- New logic for default environment files and storage folders
- Tests improved and updated
- README.md updated
- 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 :) )
- Improved robustness in
environmentFileDomain
when no domain is given.
- 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.
- README.md updated
composer.json
updated for Laravel 7.x
- New
Application
's constructor paramdomainParams
for storing miscellaneous params used for handling domains: the first one is thedomain_detection_function_web
param which accept aClosure
for customizing the doamin detection function instead of relying upon$_SERVER['SERVER_NAME']
value
- README.md updated
- New logic for default environment files and storage folders
- Tests improved and updated
- README.md updated
- README.md updated with some minor correction and frontend image.
- Improved robustness in
environmentFileDomain
when no domain is given.
- 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.
- README.md updated
- Force the detection of the domain when trying to access to domain info if the domain has never been detected
- Improved tests
- README.md: added notes on
storage:link
command
- Changed
Gecche\Multidomain\Foundation\Application
for handling separated cache files for each domain when using theroute:cache
orevent:cache
Laravel commands
- Bugfix in
Gecche\Multidomain\Foundation\Console\DomainCommandTrait
: running thedomain:add
command, sometimes some lines in the stub .env file were skipped and not replicated in the new .env. file
composer.json
updated for Laravel 6.x
- New
Application
's constructor paramdomainParams
for storing miscellaneous params used for handling domains: the first one is thedomain_detection_function_web
param which accept aClosure
for customizing the doamin detection function instead of relying upon$_SERVER['SERVER_NAME']
value
- README.md updated
- New logic for default environment files and storage folders
- Tests improved and updated
- README.md updated
- README.md updated with some minor correction and frontend image.
- Improved robustness in
environmentFileDomain
when no domain is given.
- 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.
- README.md updated
- Force the detection of the domain when trying to access to domain info if the domain has never been detected
- Improved tests
- README.md: added notes on
storage:link
command
- Changed
Gecche\Multidomain\Foundation\Application
for handling separated cache files for each domain when using theroute:cache
orevent:cache
Laravel commands
- Bugfix in
Gecche\Multidomain\Foundation\Console\DomainCommandTrait
: running thedomain:add
command, sometimes some lines in the stub .env file were skipped and not replicated in the new .env. file
composer.json
updated for Laravel 5.8
- New
Application
's constructor paramdomainParams
for storing miscellaneous params used for handling domains: the first one is thedomain_detection_function_web
param which accept aClosure
for customizing the doamin detection function instead of relying upon$_SERVER['SERVER_NAME']
value
- README.md updated
- New logic for default environment files and storage folders
- Tests improved and updated
- README.md updated
- README.md updated with some minor correction and frontend image.
- Improved robustness in
environmentFileDomain
when no domain is given.
- 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.
- README.md updated
- Force the detection of the domain when trying to access to domain info if the domain has never been detected
- Improved tests
- README.md: added notes on
storage:link
command
- Changed
Gecche\Multidomain\Foundation\Application
for handling separated cache files for each domain when using theroute:cache
Laravel command
- Bugfix in
Gecche\Multidomain\Foundation\Console\DomainCommandTrait
: running thedomain:add
command, sometimes some lines in the stub .env file were skipped and not replicated in the new .env. file
composer.json
updated for Laravel 5.7- Bugfix in
Gecche\Multidomain\Queue\Listener
due to changes in handling worker commands in the parent class.
- New
Application
's constructor paramdomainParams
for storing miscellaneous params used for handling domains: the first one is thedomain_detection_function_web
param which accept aClosure
for customizing the doamin detection function instead of relying upon$_SERVER['SERVER_NAME']
value
- README.md updated
- New logic for default environment files and storage folders
- Tests improved and updated
- README.md updated
- README.md updated with some minor correction and frontend image.
- Improved robustness in
environmentFileDomain
when no domain is given.
- 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.
- README.md updated
- Force the detection of the domain when trying to access to domain info if the domain has never been detected
- Improved tests
- README.md: added notes on
storage:link
command
- Changed
Gecche\Multidomain\Foundation\Application
for handling separated cache files for each domain when using theroute:cache
Laravel command
- Bugfix in
Gecche\Multidomain\Foundation\Console\DomainCommandTrait
: running thedomain:add
command, sometimes some lines in the stub .env file were skipped and not replicated in the new .env. file
composer.json
updated for Laravel 5.6
- New
Application
's constructor paramdomainParams
for storing miscellaneous params used for handling domains: the first one is thedomain_detection_function_web
param which accept aClosure
for customizing the doamin detection function instead of relying upon$_SERVER['SERVER_NAME']
value
- README.md updated
- New logic for default environment files and storage folders
- Tests improved and updated
- README.md updated
- README.md updated with some minor correction and frontend image.
- Improved robustness in
environmentFileDomain
when no domain is given.
- 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.
- README.md updated
- Force the detection of the domain when trying to access to domain info if the domain has never been detected
- Improved tests
- README.md: added notes on
storage:link
command
- Changed
Gecche\Multidomain\Foundation\Application
for handling separated cache files for each domain when using theroute:cache
Laravel command
- Bugfix in
Gecche\Multidomain\Foundation\Console\DomainCommandTrait
: running thedomain:add
command, sometimes some lines in the stub .env file were skipped and not replicated in the new .env. file
- Test suites
- Namespace of
DomainConsoleServiceProvider
provider fromGecche\Multidomain\Foundation
toGecche\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)
- 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)
- Better English in README.md :) Thanks to leadegroot.
- README.md improved with queue example
- Added new domain:list artisan command displaying info of installed domains
- Added domainsList() method to Application
- This CHANGELOG.md file.
- Added the handling of config:cache artisan command by multiple cache config files
- Initial version for Laravel 5.5.