Support the ongoing development of Laravel.io →
VolvoOlympian

VolvoOlympian

Joined 24 Aug 2014

Statistics

Threads 21
Replies 16
Solutions 0
Articles 0

ORM toJson() not returning JSON, but returning SQL statement?!

I am having the following in one of my controller's show($id) method. There is only this line in the...

0 Likes
0 Replies

Only created_at, updated_at timestamps are inside SQL when using Model::create()

I have laravel to automatically manage the created and updated timestamps when I create a new model....

0 Likes
3 Replies

syntax error, unexpected '$test' (T_VARIABLE)

Can someone please tell me why assigning the content of another variable to the protected $table var...

0 Likes
1 Replies

routes.php changes not reflecting

Im new to laravel. I changed something in the routes.php, e.g. handling a new different URI, changin...

0 Likes
1 Replies

Turned debug on in /app/config/app.php, does not help

I came across a "Whoops look like something went wrong" thing then I went to turn debug on...

0 Likes
1 Replies
Solved
replied 9 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 10 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 10 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 10 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 10 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.

© 2026 Laravel.io - All rights reserved.