I might be overlooking this in the docs (Laravel 4.0) but I need to know how to query a many-to-many...
Here's my Level model: class Level extends Eloquent { protected $table = "levels"; }...
These are my models User public function posts() { return $this->hasMany('Post'); } P...
$userCollection = DB::table('collections') ->whereIn('user_id', array())...
Hi, I'm having a problem. Using migrations I create the following field: $table->boolean('is_clos...
HI I have recently posted this questions on stack overflow. I was hoping someone here would know the...
The following would give me collection without Items. $collectionList = Collection::where('user_id',...
Has anyone thought of extending this method? For example I have a couple of models with the followin...
Hi, First question: What options should foreign keys use? Guarded? I have an Article object that has...
"Popularity" is a Laravel 4 package for tracking popular Eloquent elements of a website in...
Hello All, I have a self project. I am trying to create an application that can track my financial s...
I've tried 3 different versions but without any success. What am I doing wrong? Controller $user...
Hi Every body, my code is here http://laravel.io/bin/NmmV Categoria -> Fisrt Model, parent of the...
Hi, For a client we've building a Laravel 3.x application for his business. We decided to focus our...
I have a setter/getter container that works in my controllers. How can I use the getters in my model...
Hello, I started on Laravel after a lot of sites on Codeigniter. So I try in my first dev to respect...
I'm using the IoC Container to allow me to run model validation automagically, by binding a User mod...
Hi I'm building a small site for me and my friends where we will report our golf scores so we can se...
I'm trying to figure out what would be the best way to create options for users to add friends, I ha...
How can I model dynamic tables names. For example. A product has orders, all orders for the same pr...
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