Hello Guys and Girls. I am currently developing a small web-app using laravel. In general, I am very...
Hey guys, I'm trying to figure out if this is the best way to go about this. I have a tv_shows table...
Hi ! I have a lists on articles that I get from a simple Eloquent query Article::where('state', '=',...
Hi everyone :) I'm having a problem with determining a owner of a model. The application is supposed...
Hi, I have update the composer.phar today, and since that, all the methods in the model files don't...
I have two tables. One is People. The second is Files. Files contains all uploaded files through an...
In my Car class I have public function user() { return $this->belongsTo('User'); } public fu...
Hi, I am trying to create a cart for my e commerce website. For a single user, it's simple, session...
Hi there, This was a different thread, but incorrectly titled. Anyway, here's the problem: On our d...
I've looked around for a tutorial or a best practice for implementing a filter for results. I would...
Hi folks, I've got a table called "customers" and a table called "projects". Eve...
How should I manage my application with POST & GET After i POST do i RETURN View::Make or do i R...
I have a form with a 'name' textfield. When i press send laravel checks if the username exists. If s...
Hi! I have already created a mySQL database in phpmyAdmin, so I don't really want to use the the Sch...
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...
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