The return statement does not seem to work there? There is no difference whether I added that line o...
I have an existing Laravel 5 project on my machine, and I am looking to put it on a Git development...
I have this JS code that receives an image file and make it into binary using the FileReader API in...
I have got the following: Route::post('hello', function() { return response()->json(['ok' =>...
I used the toArray() method to transform my query results into an array, but I want some of the fiel...
I POST the entire string of the variable data mentioned above. And I am receving it in Laravel with...
I tried that $casts protected array, but the toArray() outcome is the same...
Thank you sp01010011, but what if I want to return a token to the user after the auth middleware is...
Basically can I forward some JSON to into $next($request) and then return the whole thing? If it isn...
Thanks for your help, but I am using a middleware but not AuthController... I cannot use the protect...
The Laravel portal for problem solving, knowledge sharing and community building.
The community