I'm still working on my timesheet webapp. As for database hierarchy I have the following: user tabl...
Hello, Just looking for an opinion here, as I can't get my head round what seems to be a trivial pro...
Hi, today i'm doing a web shop wuth Laravel Framework. Accident i got this error : Some mandatory pa...
the code can't create data UserToken::on('user')->create($token_data); result: {"error"...
select * from `prices` where `prices`.`item_id` in ('1', '2', '3') and `created_at` <= '2014-06-2...
I'm learning DDD pattern and signle responsability and what not, and i found one thing that repeats...
I'm trying to limit the results from a relationship based on results in another relationship. Here's...
Hey guys. Still having a bit of a hard time learning the relationships ^^ So i wanna print out all t...
Hello all, I have some lookup tables in my project that contain some id => name values. For that...
In 4.0 I could get soft deleted related models with the following relation public function student()...
First, let me describe the conceptual behavior. I have two tables - a promotions table, containing t...
I'm looking for a permissions package that allows me to define a role and permissions on a user, but...
How can I modify the ~~~static::creating~~~ function to avoid "Column not found: 1054 Unknown c...
Is ti posible to do something like this: Request::with('users')->where('pivot_status', '=', PENDI...
This is the code of my Eloquent model: protected static function boot() { parent::boot(); s...
I'm wondering if Laravel has a shortcut function for this part of an if statement? if ($a->polyab...
I'm pulling an actor from the database. In the actor's view I want to see a list of all movies my ac...
I'm building a unittest system. At some point I want to bind two users together in order to make an...
I have a Model "Houses" that has a location_id field so every record has a relationship wi...
Model Woman extends Homospaien Model Man extends Homosapien Table "homosapien" contains al...
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