Support the ongoing development of Laravel.io →

4,312 Threads

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

Database schema advice for a complex eCommerce app

Hey folks, I graduated recently and my project was an eCommerce Product Vendor app. Basically, the a...

0 Likes
1 Replies

Please help I am tired for one week ..help me best devs.. ma

How to get Assignees and send them emails when the project Created .. please help me best develops T...

0 Likes
0 Replies

foreignKey

Hi im pretty new to laravel so hope you dont mind for my lack of knowledge. here is my code ive crea...

0 Likes
2 Replies
Solved
posted 1 year ago

i need help in laravel

please if u have a user table, and employee table and a payment table .the payment table contains th...

0 Likes
1 Replies

Laravel Register Two type of user

Hello guys currently learning laravel can you help. Can provide me a Registration code that has two...

0 Likes
0 Replies

Best practice laravel

What is the best practice in Laravel between using the id column by default or changing it by id_nam...

0 Likes
4 Replies

filter data from multiple tables laravel

how to search query request data from multiple tables in laravel

zedohany liked this thread

1 Likes
1 Replies

Laravel form submission

i am facing issue when i register new employee "Illuminate\Database\Grammar::parameterize(): Ar...

0 Likes
2 Replies

Polymorphic relationships and resources

Hello I'm not sure how to form this question but I think it boils down to this: I don't know how res...

0 Likes
1 Replies
Solved

How do I get the replies for each comment?

I have made a blogging application in Laravel 8. I am working on the functionality of adding comment...

0 Likes
1 Replies

Need to define condition if/else via model

If we use basic select like: Products::paginate(6); it return us:-> [ id: 1, product name: 'test'...

0 Likes
3 Replies

Query Builder Sql timeout

Hi, I have one big problem with query. I have a SQL that extracts approximately 20 records from a DB...

0 Likes
1 Replies

Laravel Eloquent - Repetitive IDs in the IN clause when eage

Environnment OS: Windows 11 - WSL2 (Ubuntu 20.04) PHP: 8.1 Stack: Laravel 9.22 | InertiaJS | Vue3 Da...

0 Likes
1 Replies
Solved
posted 1 year ago

How can I get a model and all of its foreign?

Hello, I have the following models: Member Address (belongs to a member) Phone (belongs to a member...

syq246 liked this thread

1 Likes
2 Replies
Solved

Ho can i store associative array value to DB?

$authid = Auth::user()->id; $tblAptServices = $request->except('userName', 'userEmail', 'u...

0 Likes
1 Replies

Visual data modeling tools?

Hi All, pretty new to Laravel, looks pretty neat so far, but I was wondering if there are any openso...

0 Likes
0 Replies
posted 1 year ago

Get value of related table

Hi ,sorry for english , i have a table sAdmin related with user table by id_users , in User model i...

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