OK, just need a quick help, hope you guys can help me out. What I need is to append some columns to...
Hi, I have 3 models: User Post Comment Comment belongs to a user and a post. A user has many posts a...
<code> /* DB Structure Table: roles id || name Table: permissions id || name || display_name J...
Hi. I'm replacing old system to new laravel based one. There are many Database-Servers and tables, a...
Hello Laravel forum! I'm having trouble returning an eloquent collection with relations as json. Thi...
Can one model manage multiple tabels? I have Image class and 3 type of users(for each user i have o...
I'm not using the auto increment for the id instead i'm using the 32 char unique id. So when i creat...
Let's say i'm submitting multiple Job to Queue with the same Job name. But while one job is processe...
I have a CMS/app setup where an admin can make changes, but the changes are only temporary/drafts un...
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...
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