Support the ongoing development of Laravel.io →

4,311 Threads

Need help with Many-to-Many relationship error in laravel

i've posted my issue here, https://stackoverflow.com/q/78968783/17674710

0 Likes
1 Replies

My "Backup Tables" package

Backup single or multiple database tables with ease. By adding BackupTables::generateBackup('users')...

0 Likes
2 Replies

Laravel's Belongs To is confusing me....

I am facing a weird mistake.... I am currently doing an internship as Laravel Developer. at there my...

hashimabbasjaffery liked this thread

1 Likes
1 Replies

Simplify <form> creation

I have a form.blade.php file that I reuse to both create and update a resource (eloquent model). I'm...

0 Likes
4 Replies

ProxySQL with Laravel

Hi, i have a problem with laravel and ProxySQL latest version. I saw that ProxySQL has support for p...

0 Likes
0 Replies

My "Model Required Fields" package

I first needed this information while working on a large projects with no tests/factories, and so ma...

0 Likes
0 Replies

Eloquent query Return last data as null

Hello folks, Thanks for any help. I am still learning Laravel. I am passing data to blade and in a t...

0 Likes
1 Replies

Filamentphp relationship

In a project with filamentphp 3 I have a database with 3 models related a -> b -> c and I woul...

0 Likes
0 Replies

Many to many with same related id

Hi, I have a many to many relation between users and groups. The pivot table features a from and to...

0 Likes
0 Replies

How to Check If array Is Empty in Controller

I am fetching data using get method in laravel controller, if it's empty, how can i check it and app...

0 Likes
3 Replies

Issue loading relationship in Eloquent: lugares:null

Hello everyone! I'm having an issue trying to load a relationship in Laravel using Eloquent, and I w...

0 Likes
1 Replies

May be a issue about `Model::toArray()`

I create a issue in https://github.com/laravel/framework/issues/50501, maintainer told me to discu...

0 Likes
2 Replies

Convert eloquent queries to raw postgresql queries.

Hi all, I have an application written in Laravel where I have used Eloquent queries. I am working on...

0 Likes
1 Replies

How can I filter comments by status?

I have made a blogging application in Laravel 8. The articles support comments and the comments need...

0 Likes
2 Replies
posted 8 months ago

get files without same children removed

I have a table called files, it has the files and folders, how can I get the deleted files but with...

0 Likes
0 Replies

How to download excel file using storage disk('s3')

recently i am having problem in downloading files using storage disk('s3') in laravel . I can downl...

0 Likes
2 Replies

How to create the Account Type model and migratione

Hi The Team I want to create the model for the Account Type But I dont know how proceed with a table...

0 Likes
0 Replies

The best eloquent relationships for social comm./dating site

Hi, i am trying to port an old(php 5.6) dating script to laravel and i am finding it very dificult t...

0 Likes
1 Replies

Seeking Clarity on Laravel Pull Request Acceptance Criterial

Hello Laravel Developers, I hope this post finds you well. I recently submitted a pull request that...

0 Likes
0 Replies

Builder getModel() generating bad query for relationships

Hello, I'm running into an issue while trying to build a dynamic query for a relationship. When usin...

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.