Laravel is there a way to detect if a given url have the same host as my project host?
Basically I'm writing a snippet that checks whether or not a given link have the same host as my server host. For example a given link is https://example.test/another_link and my host is not_example.test. So basically if it is the same…