Hi, I want to create a sort of basic twitter clone as a learning project and wondered how you would...
This isn't working, and maybe it's not possible, or maybe I'm close? $allcars = $user->cars()...
I have this in my current app that I am moving to Laravel. $sql = "SELECT *, MATCH(title,captio...
Anybody know how create this SQL with Query builder: SELECT * FROM (SELECT * FROM 005_056_cola_envio...
Hi, I have update the composer.phar today, and since that, all the methods in the model files don't...
After I ran composer update which required laravel 4.1.* all my Eloquent queries failed. The toArray...
In my controller I'm trying to delete a record from a table and the only message I get back to the c...
Howdy. I have nested resource controllers, like so: http://example.org/v1/jobs/1/departments My issu...
Anyone knows where I could find some Laravel specific Sublime Text 3 snippets? For example creating...
I have two tables. One is People. The second is Files. Files contains all uploaded files through an...
Hello and good day to everyone The issue is tricky (for me). I passed the parameter value from the c...
I have a Post model with the following function: public function tags() { return $this->belongs...
Dear Laravel Users, I just got to know a few days ago about Laravel (=> I'm a "stupid starte...
Hello community, I try to get data via one model from two different tables, so I want to change the...
The model: class Item extends Eloquent { public function getCentsAttribute() { return substr(...
How can I try to using cache for all of Eloquent query. Example: $users = User::remember(10)->get...
Hello everyone! I have a little problem to register a user. Here is the function that processes the...
class Batch extends Eloquent { public function coupons() { return $this->hasMany('Cou...
In my Car class I have public function user() { return $this->belongsTo('User'); } public fu...
Hello All, So I have some weirdness happening. I'm trying to do a search on a track database that I...
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