gecche / laravel-multidomain

A Laravel extension for using a laravel application on a multi domain setting
MIT License
838 stars 105 forks source link

fire tasks for new domain #60

Closed maganius closed 2 years ago

maganius commented 3 years ago

I need launch some tasks when a new domain is added, I need start this after make php artisan domain:add.

how I can solve this?

gecche commented 2 years ago

Hi,

I'm sorry for the delay but I'm very constrained in these weeks...

I think that there is not a general way to solve this: I think that the best solution is that you should fork the repository and overwrite the command if you need this... usually after the domain:add command you also have to customize the .env before to do anything else. So I don't know how to solve this in a general and simple way: if you have any idea please consider to share it here :)

Cheers

Giacomo