Imagine I have an API and this can only be used by authenticated users. I want to get all my albums...
Hi. Probably is a PHP general cuestion but this is what I'm wondering: class A { public functio...
Hi. I have a user with countries relationship. (hasMany) user_id 1 country_id 1 user_id 1 country_i...
Imagine I want to change the debug parameter from true to false. Is there something to WRITE "f...
I have a User and a Country models, and the user model has one-to-many relation class User extends E...
Never mind, I think it is correct with $user->country()->getRelated(); It doesn't return 'Coun...
Very helpful! In the edit view, I think it might be better to use Form::model method. http://laravel...
The Laravel portal for problem solving, knowledge sharing and community building.