Support the ongoing development of Laravel.io →

4,587 Threads

Multi model form 1-to-many with "add more" button

Let's say we want to build this form: Team: Team Name: Team Country: Members: Member A name: Member...

0 Likes
0 Replies

Return collection with relations as json

Hello Laravel forum! I'm having trouble returning an eloquent collection with relations as json. Thi...

0 Likes
2 Replies

How to set the Primary Key and Foreign Key to string

I'm not using the auto increment for the id instead i'm using the 32 char unique id. So when i creat...

0 Likes
6 Replies
Solved

Laravel Queue with AWS

Let's say i'm submitting multiple Job to Queue with the same Job name. But while one job is processe...

0 Likes
0 Replies

Eloquent/DB design for draft/live content

I have a CMS/app setup where an admin can make changes, but the changes are only temporary/drafts un...

0 Likes
1 Replies

No Error Reported when Mysql table column missing

Trying to insert into a table using Eloquent where updated_at column was missing did not throw any e...

0 Likes
1 Replies
posted 10 years ago

"Set" column in schema

Hi everybody! How can I create "set" column in schema like enum? I didn't find at http://l...

0 Likes
4 Replies

Booleans in JSON API

Hey! I'm trying to build a simple json api where some attributes are of type boolean. The problem is...

0 Likes
4 Replies
Solved
posted 10 years ago

php artisan command to get the remote DB

Is there any php artisan command available to get the DB from the remote server, and import it to t...

0 Likes
0 Replies

Converting Empty String To Null

I'm not sure how everyone else does it, but just wanted to get some thoughts (and cleanup) on how I'...

0 Likes
0 Replies

Simple Arrays with ID as Key

I know that Laravel has a wonderfully useful lists() method that you can use with either Eloquent or...

0 Likes
0 Replies

the syntax for redirection and the where clause

Hello So, I want to get routes like these myweb.com/account/company1/adm myweb.com/account/company2...

0 Likes
0 Replies

Unittesting

I am writing a custom package which I want to unittest. The package depends on the DB class from Lar...

0 Likes
2 Replies

Keep data to all views

Hi, I`m new with laravel and I have one question. I have to get some data from database and keep dat...

0 Likes
1 Replies
posted 10 years ago

Product Feed Process

Hi, Using Laravel, what is your approach if you are in this scenario: Data is coming from an API. D...

0 Likes
0 Replies

How do I update value of subsequent parent records

I have two tables: members and contributions. The members table has a recursive relationship, that i...

0 Likes
4 Replies

How to use unix timestamp in eloquent?

I want to use the created_at, updated_at and deleted_at fields with unix timestamp.

0 Likes
2 Replies
Solved

Passing variables in url from a unit test?

Hi i am trying to set a a test to test my database calls. I want to pass a variables in url but cant...

0 Likes
0 Replies

Pivot generated, but migration error

I am attempting to create a pivot table and ran the cmd: php artisan generate:pivot contractor work...

0 Likes
1 Replies

Eloquent Concatencator

Hey guys, just working on a small package that extends the Eloquent Model class and Query Builder cl...

0 Likes
0 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.