Support the ongoing development of Laravel.io →

4,597 Threads

Relationships in repositories

Hi! Recently I was using a bit of repositories and one thing I am really curious about is how to imp...

0 Likes
0 Replies

Fetching Big Data in Eloquent

Any recommendations on Out of memory issue in fetching the result in Eloquent? I added DB::disableQu...

0 Likes
3 Replies

Laravel and Google AppEngine datastores

Hi, I would like to know if someone could use Google AppEngine datastore API for PHP in a Laravel ap...

0 Likes
0 Replies

Display 'Category' names of posts

Hi, I have 3 tables in my database listings (id, title) categories (id, name, parent_id) category_l...

0 Likes
1 Replies
Solved

Eloquent query database and return output with relationship.

Hi guys. I need to return a list of products that belong to X category, so I created an input parame...

0 Likes
4 Replies

Append columns to the requested columns

OK, just need a quick help, hope you guys can help me out. What I need is to append some columns to...

0 Likes
4 Replies

DB join not working as expected

<code> /* DB Structure Table: roles id || name Table: permissions id || name || display_name J...

0 Likes
0 Replies

Transaction doesn't rollback in paticular models.

Hi. I'm replacing old system to new laravel based one. There are many Database-Servers and tables, a...

0 Likes
1 Replies
Solved
posted 10 years ago

Problem with seeding.

I'm getting the following message by my code. preg_replace() parameter mismatch pattern is a string...

0 Likes
1 Replies

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

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.