how to use request method in model inside creating method laravel code example Example: laravel add request $request->all() + ['index' => 'value'];