Laravel Multidomain Pack

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

Setup after completing and specified in readme Settings after you've done you can use package commands to manage domains:

# Adding a domainphp artisan domain:add site1.com php artisan domain:add site2.com # Removing a domainphp artisan domain:remove site2.com 
When you add a domain, .env the configuration file is created for that domain:
phpartisandomain:addsite1.com #Generatesthefollowingconfigurationfile.env.site1.com
You can use the following domains to domain:list with command you can list

phpartisandomain:list
You can learn more about this package, get the installation instructions in full, and get the source code You can find it at gitche at gecche / laravel-multidomain .

  Quote

KARABAY A, 2019 . Laravel Multidomain Pack,

https://www.karabayyazilim.com/blog/php/framework/laravel/laravel-multidomain-paketi-2019-12-05-140536

(Accessed December 05, 2019).


  Share this post

Comments (0)

Comment

Subscribe
Sign up for the email newsletter to be the first to know about my blog posts