I have a table with a row 'comments'. This is 'opmerkingen' in dutch. Every row can contain 1 commen...
I have a form with a 'name' textfield. When i press send laravel checks if the username exists. If s...
I'm trying to work with SimplePie to pull numerous RSS feeds (which is working well); however rather...
I have this in my car.php model public function bySortOrder() { return $this->orderBy('so...
Sorry for my english, is not very good. I have a User model and I have a Post model. two models have...
Guys, good morning. Question about relationship. In this query it brings me a student and two servic...
I'm trying to relate a user model and a comments model. My user model has the following code.. clas...
This may be a weird question, but is there a way to seed the db from a migration? The reason is that...
DB::table('items')->where('id', $itemID)->increment('save',1); As above, is that possible or d...
I'm new to Laravel put like what I see so far. Here's my issue. In my example app I have 2 models...
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...
The following would give me collection without Items. $collectionList = Collection::where('user_id',...
Hi, First question: What options should foreign keys use? Guarded? I have an Article object that has...
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...
I'm using the IoC Container to allow me to run model validation automagically, by binding a User mod...
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