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...
I'm very new to Laravel and MVC's in general (third day of using Laravel), so please bear with me. I...
What is the best way to send a file as a multipart form programmatically with Laravel? I don't need...
0 down vote favorite I am using Administrator (frozennode) with Sentry . for permission part when I...
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