Dynamic custom domain routing in Laravel
Joe Lennon
6011

However, in this situation, If you want receive parameters in method of controller, you must receive {domain}’s value at same time. For example:

public function about($domain, $type){…}

Even I don’t need $domain at all. Do you have some good solutions?

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.