Trying to insert into a table using Eloquent where updated_at column was missing did not throw any e...
Hey! I'm trying to build a simple json api where some attributes are of type boolean. The problem is...
Problem: Model events (Model::saving, etc...) don't work anymore after putting an instance of the mo...
I'm not sure how everyone else does it, but just wanted to get some thoughts (and cleanup) on how I'...
I know that Laravel has a wonderfully useful lists() method that you can use with either Eloquent or...
Hello So, I want to get routes like these myweb.com/account/company1/adm myweb.com/account/company2...
Hi, I`m new with laravel and I have one question. I have to get some data from database and keep dat...
Hi why do I get this error? $email = Email::all(); BadMethodCallException Method [all] does not e...
Hello, Is it possible to create eloquent relations for the following situation: A blogs page where b...
Hello! I wanted to post a link to a package I've been working on for the last couple of months. I'm...
I have two tables: members and contributions. The members table has a recursive relationship, that i...
I have a post table and that post may be included in multiple sections so now I have 3 tables: post...
I want to use the created_at, updated_at and deleted_at fields with unix timestamp.
I am attempting to create a pivot table and ran the cmd: php artisan generate:pivot contractor work...
Hey guys, just working on a small package that extends the Eloquent Model class and Query Builder cl...
Hi; How can I see binded sql? $data = Admin::whereRaw('email = ? ', array($email))->get();
Hi I'm writing a small app and I am trying to set the default Carbon date format. I have an eloquent...
I prefer using foreign key columns wihout any suffix (like 'user' rather than 'user_id'). I can live...
hi everyone according to the question, i want to get column name when update a record. i need this i...
I'm looking for the best approach to add an InsertIgnore method to Laravel's query builder. I can ac...
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