Class Channel extends Model { ... ... public function getSubscribersAttribute(){ return $this-&...
I have a User model and a Group model, connected by a pivot table. Users can be in many groups, grou...
Hello! I'm trying to build a scope to filter banned users. I have two table : One called users: id,...
I have users across many timezones. Everything in the database is stored in UTC, no problem. What I...
Hi I'm using Laravel 4 I have a section on my site that displays my portfolio, The problem I'm havin...
Anybody out there having experience with using Laravel + kendo ui?
Not really sure what I am missing here? The error: exception 'ErrorException' with message 'Declarat...
Hi, is it possible to do a bitwise Operation in Eloquent like below? field and numer are a 8 Bit Int...
So, I create an object, do the $object->save(); , and now I want to quickly get auto incremented...
A row in a table must exist for my application to function. Is there a way to keep that row in the m...
Hello all! Currently I have an application where I have stored in the database the following columns...
I am trying to authenticate users in my Laravel application. I am encountering the following problem...
In reddit, every reply could have many replies, again and again, a little complex for me, do you hav...
Hey there, I have been trying to create a preferences system for my app to control a number of featu...
Is it possible to save Eloquent relationship before the Model::created event fires? I have tried ove...
In Laravel 5.0 I create a new model "php artisan make:model Product" and laravel's creates...
Hey, i need to make some functions availabile everywhere: this means i can call them from a controll...
Hey there, I'm having an issue using relation ships in eloquent. Edit:I'm using Laravel 5.1 I keep h...
Imagine the following model: class Post extends \Illuminate\Database\Eloquent\Model { public functi...
Hi, Given code is working fine if just try to show the list but when I try to search some data then...
Solutions given in the past year. Excluding solutions from thread authors.
Select a tag below to filter the results
The Laravel portal for problem solving, knowledge sharing and community building.
The community