Slim Framework and milti domain


#1

Hello, I use Slim framework and Blade-template. I want use one framework for many simple sites
For example:
Shop1.com -> theme [shop1]
Shop2.com -> theme [shop2]

All shops have same path and functions

How I can use route for my tasks? Any ideas?


#2

I think you can make something with this:
http://php.net/manual/en/function.parse-url.php