Request
The request_*
functions map directly to the \Illuminate\Http\Request
class.
For more information on usage please refer to documentation for requests in Laravel.
{{ request_get("foo") }} // bar
{{ request_method() }} // GET
{{ request_root() }} // http://domain.com/
{{ request_path() }} // /the/uri/path
{{ request_segment(1) }} // foo
{{ request().route('id') }} // 123
{{ request_is("myaccount/*", "account/*") }} // boolean
{{ request_ajax() }} // boolean