Basic Request Information
The IlluminateHttpRequest instance provides a variety of methods for examining the HTTP request for your application. The Laravel IlluminateHttpRequest extends the SymfonyComponentHttpFoundationRequest class. Here are a few more of the useful methods available
The is method allows you to verify that the incoming request URI matches a given pattern. You may use the * character as a wildcard when utilizing this method: