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...
{{ $key+1+(($employees->getCurrentPage()-1)*$employees->getPerPage()) }} Change $key with $in...
Hey, http://laravel.com/docs/4.2/eloquent#touching-parent-timestamps And then order by updated_at
Hey, It's a little bit more complicated! First you need to check if max_price is bigger than min_pri...
I think you should use orWhere in the where function! Like this: $q->orWhere('restaurants_symbols...
The Laravel portal for problem solving, knowledge sharing and community building.
The community