My Blog Posts

Laravel Multidomain Package

Laravel Multidomain Package

This package provides a specific env file for each customer, a specific storage path, and a very simple way to build a specific database.

Setup completed And in the eoku Settings after doing so you can use package commands to manage domains:

# Adding a domain
php artisan domain:add 
php artisan domain:add 

# Removing a domain
php artisan domain:remove 
When you add a domain, .env configuration file is created for that domain:
php artisan domain:add 
# Generates the following configuration
The following domains domain:list with command list

php artisan domain:list
You can learn more about this package, take the installation instructions in full, and Find gecche / laravel-multidomain in Gitche .

Share this article

Comments (0)