Hey, I have one model where i set $with variable to always take a relationship. But i have one case...
Hello. I'm looking for a way to create dynamic appends to a model. right now i have something like p...
Hey, I'm working on an app made on Laravel where i have to host multiple domains. It's an Project Ma...
Hey, I want to extend Sentry 2 with a new class. I did everything right but i have a problem. If i a...
Hey, I want to cache my queries like getting all projects assigned to a user. I use ->remember(36...
https://github.com/laravel/laravel On the right you have a button Download ZIP :)
As i said you need to overwrite model functions. For example: // Default model function /** * Save...
Just to modify the default model function you are using to create a new listing and add by default t...
The function name must be plural so listings it's ok ($user->listings) The hasMany just call a Mo...
The Laravel portal for problem solving, knowledge sharing and community building.