if this is $items '$items = Item::with('brand', 'images')->get();', and i have this foreach @fore...
Hopefully someone can help me, I've been trying to find out why for the last few hours. I'm trying t...
Hi, I'm just starting out with Laravel and managed to get Vagrant/Virtualbox working on my Windows 7...
Example resulting in wrong result (is used for a scope-Method): return $query->whereRaw(<<&...
In one of my controller-functions I retrieve a model: $user=User::where('token',$token)->first();...
I have my application timezone set to UTC so that I can store the date/time in UTC in the mysql data...
Hello folks. I am in need of a little direction on setting up a query on a many-to-many relationsh...
In one of my project, I'd like to output a json value from my mysql table immediately to array when...
I've created something like laraval.io. That's my table: Schema::create('forum', function(Blueprint...
Hi! I'm a student and new to Frameworks and Laravel. I was wondering if Laravel 4.X supports dynamic...
Hi guys, I'm fairly new to Laravel, I'm designing an application which will have an API which return...
I have been trying to get this query working using Query Builder. Still haven't been able to get a w...
Hi guys! I’m currently building an json API to be consumed mostly by an mobile app. I have been scra...
I've been exploring the use of the repository pattern in a new project by using interfaces and eloqu...
I've inherited an application that I'm supposed to "fix" from prior development and I noti...
After following the steps for the 4.1.26 upgrade on Laravel, when I try to re-migrate and re-seed th...
Hi, I'm trying to run the following query but it's not returning anything ... any idea why? $comment...
Hello everyone, In my database I have two tables: Users and Notes An User has many notes and every n...
Hi all, How do I reuse a model I created in a package right in the root application ? Thanks :-)
categories id, name products id, name products_categories id, product_id, category_id cards id, prod...
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