Support the ongoing development of Laravel.io →

4,606 Threads

Invalid argument supplied for foreach()

I'm converting a site to Laravel. It's a giant site and unfortunately, I can't rename existing colum...

0 Likes
8 Replies

Eloquent Pivot -> Get all items listed from 3th table with true or false

Picture this: user table id username role table id rolename role_user table id role_id user_id...

0 Likes
2 Replies

short attributes - frontend

Hi, I have a variable with possible short values (e.g. foot => (l,r,b). Now i want to show the fu...

0 Likes
5 Replies
Solved

Can queues be used to SELECT data from a mysql database?

Hi, I have 2 database queries running in a queue that uses iron.io to select some data from my datab...

0 Likes
1 Replies

[L5] Are eager loading constraints broken?

I posted this same message on the Laracasts forums but didn't get any replies, thought I would give...

0 Likes
3 Replies
posted 10 years ago

laravel and PostGIS

Hello friends, how to work with PostGIS laravel

0 Likes
2 Replies

a few laravel questions

I'm learning php via a large book on beginning php and am about 3/4 through it. I don't know much ab...

0 Likes
1 Replies

Logical test returning false but query returning true

Hello! I can't figure out why the mysql query is returning results when it shouldn't, here is the th...

0 Likes
1 Replies

Is this possible with eloquent? Double/triple join of the same table to itselve with where conditions and the need of a recalculated date...?

Hello, I have an orderarticles table (The article rows of an order). The selected fields are only to...

0 Likes
2 Replies

Filtering Eloquent Collections by unique column value after retrieval from database

From the docs we know that we can filter Eloquent collections after retrieval from database by apply...

0 Likes
3 Replies

Eloquent relations (eager loading) error

I have strange error in my laravel project because, in my machine, everything works fine but, in the...

0 Likes
1 Replies
posted 10 years ago

(MSSQL) Error while updating a record with join

I have the following update, by using Query Builder over SQL Server: DB::table('ct') -&g...

0 Likes
0 Replies

Laravel - MongoDb get count of related_ids

I'm using the Laravel-MongoDb package with a many to many relationship between "expeditions&quo...

0 Likes
0 Replies

Cannot send password reminder email

Hey, until now i was able to send a password reminder email, but now i can't, even though i haven't...

0 Likes
1 Replies

NotFoundHttpException for some files

Hello, I have some strange issue. The problem is that I generate some images from the database but f...

0 Likes
2 Replies
Solved
posted 10 years ago

Running migrations on different databases.

Will it be possible to run migrations on different databases? Imagine there is a SaaS application wh...

0 Likes
8 Replies
Solved

Database Schema, Separate or Condensed Content

Hello, As the topic states, I'm attempting to design my database. I'm trying to plan a rebuild of my...

0 Likes
1 Replies

How can I create multiple tables in database with migration???????

Please I need help here, Any buddy can help me here... I need to create the multiple tables in the d...

0 Likes
5 Replies

Counting row for hasmany relationship

so i doing eloquent with hasmany relationship like this $jejarings = WilayahCuprimer::with('Cuprime...

0 Likes
0 Replies
posted 10 years ago

laravel EAV

how to create eav? is nowhere an example of the code. It is unclear how exactly do https://cartalyst...

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.

© 2025 Laravel.io - All rights reserved.