Support the ongoing development of Laravel.io →

4,606 Threads

Eager loading nested polymorphic relationship in different namespace

If you just want to jump straight to the question, it's at the very bottom. For your convenience how...

0 Likes
1 Replies

Query Character Length Limit?

I'm trying to save a blob to a MySQL database. I can do it successfully for a file that is 4000 byt...

0 Likes
5 Replies
Solved

Who is calling beginDatabaseTransaction() method on DatabaseTransactions trait (Laravel 5.1)

Hi, I'm using DatabaseTransactions trait to have transactions on tests. I have custom connections on...

0 Likes
1 Replies
Solved

GROUP_CONCATE() in Laravel 5

How can I use this "SET GLOBAL group_concat_max_len = 1000000;" statement in Laravel 5 ??...

0 Likes
1 Replies

Join is breaking my relationships

I need to use a join so that I can sort by a column in the joined table. But that join is interferin...

0 Likes
3 Replies
posted 10 years ago

How to create one to one relationship in database with migrate

I want to create one to one relationship in mysql database but I can't find any solution. User table...

0 Likes
0 Replies
posted 10 years ago

On user registration create another table row

Hey ;) How would I go about this problem when I have a code like this in AuthController: public func...

0 Likes
1 Replies
Solved

How to store user's email in database and send them emails? What am I doing wrong?

I'm new to this. anmd certainly doing something wrong. When I enter email address in email field, th...

0 Likes
1 Replies

How do you do a full text search across multiple tables?

I have been searching exhaustively how to do a full text search in laravel from multiple tables and...

0 Likes
0 Replies

How to make a variable Database call?

I'm trying to set up a single Controller that will be passed a variable name from the route. I'm not...

0 Likes
10 Replies
Solved

Saving array to database

I feel like I might be overthinking this, and I know the answer is out there, I just haven't been ab...

0 Likes
2 Replies
Solved

High Request Duration

I have a page showing 245 countries meaning 245 rows from mysql. Even if the results are cached, req...

0 Likes
2 Replies
Solved

Manage multilanguage app/site

What is the right way to manage a multilanguage webapp? i've read some articles about it but i haven...

0 Likes
1 Replies

HasMany relationship query builder

Hi, I am having trouble building a simple query. I have a 3 models Photo, Post and Tag. Tag model is...

0 Likes
2 Replies

Save the change of the checkbox-state on DB

Hi everybody! I have a view that shows a list of tasks. Each task has a checkbox that shows if it's...

0 Likes
4 Replies
Solved

Persist Eloquent query builder object

I'd like to build a feature into my app that allows the user to save filters similar to Atlassian's...

0 Likes
0 Replies

probleme whit mydatabase

hello i am new to laravel and i am learning as i go i have this problem when i save mi form in the...

0 Likes
2 Replies

Laravel eloquent two has many relation

I've tried it too many times but I still can't get it. I am trying to make a custom tour app with la...

0 Likes
0 Replies

Error when run 'php artisan db:seed'

I follow this tutorial: https://www.flynsarmy.com/2015/02/creating-a-basic-todo-application-in-larav...

0 Likes
1 Replies

Trying to do inner join and find/where not sure which to use, complete new laravel user

$leverancier = DB::table('leveranciers') ->where('leveranciersId', '=', $id) ->join...

0 Likes
2 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.