gecche/laravel-multidomain

--domain option not exist

Closed this issue · 2 comments

I am using two Ubuntu servers 22.04, and one of them is working fine using this package. When I run php artisan list, I can check the --domain option as shown in the image below.

image

Both servers are using PHP 8.2 and Laravel 9. However, when I run php artisan list on a newly installed server, there is no --domain option as shown in the image below.

image

I would appreciate it if anyone could tell me a solution.

Both servers are using gecche/laravel-multidomain 5.0

Hi,

I'm sorry but I can't help you based on those info, because if on one server works and on another server does not work, I guess you have missed some step in the installation process.
Maybe you missed to change the Console Kernel or to extend the main container in bootstrap/app.php? Because if the --domain option does not appear probably one of these two is missing.

Cheers

Giacomo