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...
@shez1983 That's what I'm doing. (users/authenticated/albums instead of users/albums), but the quest...
@shez1983 I use JWT. The authentication is not the problem. I mean, if a user can go to users/1/albu...
Well, this is the solution (thx to jarektkaczyk) $countries = [1,5,9]; User::whereHas('countries',...
CaporalDead said: Hi, Laravel does not provide a way to "write" the config on your filesy...
The Laravel portal for problem solving, knowledge sharing and community building.
The community