Support the ongoing development of Laravel.io →
trololosha4real

trololosha4real

Joined 8 May 2014

Statistics

Threads 16
Replies 8
Solutions 1
Articles 0

How to set primary key as array key for model and all its relations?

In Laravel all model values returns as simple list. Is it possible somehow set up primary key as arr...

0 Likes
1 Replies

How to change join field in hasManyThrough?

I have structure like this: orders id - integer name - string order_details id - intege...

0 Likes
0 Replies

How to catch "POST Content-Length of n bytes exceeds" ?

Warning: POST Content-Length of n bytes exceeds the limit of x bytes in Unknown on line 0 Is there...

0 Likes
3 Replies

How to trigger method when sync is called?

I have two models tag and post. When i create the tag I assign it like Post::find(1)->tags()->...

0 Likes
2 Replies

How to deal with AUTH in L5?

Before L5, in L4 i had a few filters for AUTH like: Route::filter('guest', function() { if (Auth::c...

0 Likes
1 Replies
Solved
replied 11 years ago

How to specify which values are needed from db in Laravel?

illuminate3 said: Ummm, need to add password to fillable probably. Still the same

0 Likes
replied 11 years ago

What would be the best approach for custom authorization?

thepsion5 said: You'd probably have to write a custom auth driver: http://laravel.com/docs/extendin...

0 Likes
replied 11 years ago

How to handle controllers in subfolders?

Thanks a lot guys. My mistake was in prefix, i thought it tells to load controller from site directo...

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.