Replacing Laravel with domain