Nice: in Symfony 4.1 we will finally be able to specify that an imported route shouldn’t have a trailing slash.Continue reading post "#1902"
I found myself wanting to check if a given URL path exists on another host of a multi-host Symfony application from within a controller action. The router service, which is the instance of Symfony’s routing component used to route requests to actions, has a
match() method, but it only accepts the path part of the URL. It also has a
matchRequest() method, but that seems to ignore the
SERVER_NAME of the passed