Support the ongoing development of Laravel.io →

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 9 years ago

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

Xum said: You can try to add a hidden input field with name MAX_FILE_SIZE and value equal to maximu...

0 Likes
replied 9 years ago

How to trigger method when sync is called?

jacksoncharles said: Listen for the event. Laravel support many events out of the box. Could you p...

0 Likes
replied 10 years ago

How to load models?

So as far as i understood all methods in models should be static?

0 Likes
replied 10 years ago

How to disable remember token?

atrakeur said: There is no simple way to do that (appart from rolling back to a pre-4.1.25 laravel....

0 Likes
Solved
replied 10 years ago

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

jarektkaczyk said: Only way I can think of would be overriding the methods responsible for fetching...

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.

© 2024 Laravel.io - All rights reserved.