I come across a situation in Laravel while calling a store() or update() method with Request parameter to add some additional value to the request before calling Eloquent fu
You can add parameters to the request from a middleware by doing:
public function handle($request, Closure $next) { $request->route()->setParameter('foo', 'bar'); return $next($request); }