Hello Laravel forum! I'm having trouble returning an eloquent collection with relations as json. Thi...
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...
Hi everybody! How can I create "set" column in schema like enum? I didn't find at http://l...
Hey! I'm trying to build a simple json api where some attributes are of type boolean. The problem is...
Is there any php artisan command available to get the DB from the remote server, and import it to t...
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...
I am writing a custom package which I want to unittest. The package depends on the DB class from Lar...
Hi, I`m new with laravel and I have one question. I have to get some data from database and keep dat...
Hi, Using Laravel, what is your approach if you are in this scenario: Data is coming from an API. D...
I have two tables: members and contributions. The members table has a recursive relationship, that i...
I want to use the created_at, updated_at and deleted_at fields with unix timestamp.
Hi i am trying to set a a test to test my database calls. I want to pass a variables in url but cant...
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();
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