You almost got it.
An object
app is an instance of GlobalVariables . When you say app.request , getRequest() is called and returns an instance of the standard Request object.
Now, if you look at Request::get() ( link ):
get(string $key, mixed $default = null, bool $deep = false)
I think you need to do the following:
{{ app.request.get('filter[_per_page]', NULL, true) }}
Where NULL is the default and true means deep traversal of the Request object.
Jovan perovic
source share