Lumen: get URL parameter in a Blade view
This works well: {{ app(‘request’)->input(‘a’) }} Where a is the url parameter. See more here: http://blog.netgloo.com/2015/07/17/lumen-getting-current-url-parameter-within-a-blade-view/
This works well: {{ app(‘request’)->input(‘a’) }} Where a is the url parameter. See more here: http://blog.netgloo.com/2015/07/17/lumen-getting-current-url-parameter-within-a-blade-view/
Update (5.2) With the latest version of Lumen (5.2) the Microframework focuses on Stateless APIs. The documentation states: Lumen 5.2 represents a shift on slimming Lumen to focus solely on serving stateless, JSON APIs. As such, sessions and views are no longer included with the framework. If you need access to these features, you should … Read more