Support the ongoing development of Laravel.io →

VolvoOlympian

Joined 24 Aug 2014

Statistics

Threads 21
Replies 16
Solutions 0
Articles 0

Return JSON response in custom Exception

The return statement does not seem to work there? There is no difference whether I added that line o...

Likes Replies

Using laravel 5 with Git

I have an existing Laravel 5 project on my machine, and I am looking to put it on a Git development...

Likes Replies

Saving Binary Image

I have this JS code that receives an image file and make it into binary using the FileReader API in...

Likes Replies

ResponseFactory not found

I have got the following: Route::post('hello', function() { return response()->json(['ok' =>...

Likes Replies

Want to get boolean instead of 0/1 after ORM query

I used the toArray() method to transform my query results into an array, but I want some of the fiel...

Likes Replies
Solved
replied 6 years ago

Saving Binary Image

I POST the entire string of the variable data mentioned above. And I am receving it in Laravel with...

0 Likes
replied 6 years ago

Want to get boolean instead of 0/1 after ORM query

I tried that $casts protected array, but the toArray() outcome is the same...

0 Likes
replied 6 years ago

Middleware return $next($request) with JSON?

Thank you sp01010011, but what if I want to return a token to the user after the auth middleware is...

0 Likes
replied 6 years ago

Middleware return $next($request) with JSON?

Basically can I forward some JSON to into $next($request) and then return the whole thing? If it isn...

0 Likes
replied 7 years ago

Use another column instead of 'email' for auth.basic?

Thanks for your help, but I am using a middleware but not AuthController... I cannot use the protect...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.