Support the ongoing development of Laravel.io →

4,605 Threads

0 Likes
0 Replies

Related models that don't have a database representation

So I'm developing a REST API, with the following schema members id other field other field member_...

0 Likes
1 Replies
Solved

Laravel password reset

I'm having trouble getting the Laravel password reset functionality to work. I think the issue stems...

0 Likes
2 Replies

[ask] Chaining one to many relationship

It's been two days debugging. is there a way to chain this properly ? I tried $post = Post::has('com...

0 Likes
2 Replies

Eloquent Join Table Comment, Post, and User.

Hello everyone. I have 3 Tables Posts id content Comments id commented_id (user_id) user_id User...

0 Likes
2 Replies
Solved

Add input text and number a new business

Hi, Laravel is very interesting, i'm new developer of this framework. I have some problems. I'd like...

0 Likes
2 Replies

Complex Relationship Query [Team->county and Team->users->roles]

Hello guys, I am having some trouble filtering data through a relationship that i created... CLASS T...

0 Likes
1 Replies
Solved
posted 10 years ago

Array to String conversion error

Hello, I keep getting this error "Array to string conversion" in this view {{ $data = DB:...

0 Likes
4 Replies
Solved

PDO Exception(could not find driver)

Hello, I face a problem when I try to migrate my database. My app/config/local/database.php configur...

0 Likes
1 Replies

Most efficient way to get count of related tables

I'm looking for the most efficient way to get the count of related records from related tables. The...

0 Likes
2 Replies
Solved

Eloquent Join Table.

I have 2 Tables User id full_name Post id user_id title content How to find out User.full_name f...

0 Likes
2 Replies
Solved

Search function in API

I'm willing to implement a search function with a Integration of a school API. in other words. I'm w...

0 Likes
6 Replies
Solved

Laravel not validate that the database is up?

When doing the login with the method Auth::attempt() I get this error: ErrorException htmlspecialcha...

0 Likes
0 Replies

How to store ip address at Laravel?

So I want to store users ip in my database, but I coulnd create VARBINARY(16) in my schema builder....

0 Likes
2 Replies

Relation with extra condition

TL;DR how to address the same table's field in the additional condition like this: $this->hasMany...

0 Likes
3 Replies

How to initialize my Model to save data coming from Ajax request

I am a bit confused on initializing my Model when the data is coming from Ajax request. For general...

0 Likes
1 Replies

Many to many relationship with Eloquent

Good morning to all guys! I have two table. "user" and "user_user". In the table...

0 Likes
2 Replies
Solved

Update two or more table with relations

Hello, I have 2 tables (or more) with relations, user_details and addresses. class UserDetail extend...

0 Likes
4 Replies

convert many to many (but only one related item) mysql query to a laravel query object

Hi I'm having trouble converting a mysql query that I've been working on into a laravel eloquent que...

0 Likes
0 Replies

understanding laravel dropdown

hi, i'm a newbie to laravel framework and i just find it's so hard to understanding laravel form usa...

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.