yii2-subdomian-urlmanager
make subdomain as a query param for yii2
usage
this project wont work at all, but the same logic works when put file in namespace \app\components i dont know why ...
remember to change file location ande code
namespace postor\subdomian;
to
namespace app\components
or extend this class in app\components