Hey guys, I have this working controller, that I would like to clean up if possible, since i am sure...
I have a 3NF design (Tag , Item_Tag, Item) As below but it wont work because i'm looping the same ol...
I have this models: app/Models/Instance.php <?php namespace App\Models; use Eloquent; class I...
I'm having a bunch of trouble with model scopes. I have one scope that works properly, called direct...
I'm trying to setup polymorphic relations for the first time. I have 4 models: Category, Image, Tip...
Hi, I'm trying to retrieve an id after creating a Polymorphic relationship. Here is my code: $cat...
I have a many to many relationship setup like this: Product Model: public function skus() { return...
ostap liked this thread
Hello, I am new to Laravel and have a small issue... I have an app set up with a front-end [for list...
I'm currently working on a browser game built with Laravel to get into laravel more. I'm currently r...
Hi, How can I convert this Query Builder Statement in Eloquent? return \DB::table('province')->jo...
I have a model where I always want the results to orderBy a certain way. Is there a way to enforce...
Hey fellow Laravel friends, I'm trying to build status updates like Facebook. But my question is how...
Hi; I set up the authentication page and it seems to be working fine, would u please check confirm I...
So I have a table on my database, with an eloquent class allowing me to access it. So far everything...
Hi. I want to do something after table row loaded. Is there eloquent model postLoad event? Like doct...
I have a simple query like this: $userIdLists = Users::whereIn('id', $idList)->select(array('id')...
I'm trying to make simple example of reading data from multiple sources, storing that data in associ...
Long story short. I created a migration named "create_music_table" which have following fi...
I have the following tables set up widgets table: id, name, widget_types_id widget_types table: id n...
I am writing an app that administers tests to students. I have a model that represents a prototype o...
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