Support the ongoing development of Laravel.io →

4,311 Threads

posted 8 years ago

Autocomplete for eloquent

I am just starting out with eloquent and I really like the concept of scopes, however I am finding i...

0 Likes
0 Replies
posted 8 years ago

Eager Load Multiple Polymporhic Relationships - some soft deletes, some not

Hi Folks, I have several models that contain a polymorphic field. These poly fields contain four or...

0 Likes
0 Replies

Fetching large numbers of rows

Hello guys, is there any way currently to fetch large datasets with Laravel? I know there's chunk()...

0 Likes
10 Replies
Solved
posted 8 years ago

Relationship among 3 models

The situation: a user can organize many parties a user can participate to many parties a user parti...

0 Likes
0 Replies
posted 8 years ago

Problem getting the best comment by number of likes

I have a table with relationships Post id post_description user_id Comment id comment_des...

0 Likes
0 Replies

Ajax request not working

I am trying to make ajax request to create new category but i get the follow error message Controll...

0 Likes
1 Replies

problem in using Auth::attempt() function

i am making a login form. i have made the form.data is getting passed using login but when i use if(...

0 Likes
0 Replies

Subbmiting form with array of text fields.

So lets say you have a form with the following Item Qty Test 1 1 Test 2 2 Test 3 3...

0 Likes
17 Replies

How to log in as another user at the same time.

I have a users table with an is_admin column. I need an admin to be able to log in temporarily as a...

0 Likes
4 Replies

where do I find all the parameters for the onDelete method?

I am struggling to find all the parameters possible for the method onDelete method, I am talking abo...

0 Likes
0 Replies
posted 8 years ago

Streamline relationship between clients and email addresses

In my application, clients can have more than one email address, and they must be ordered by some pr...

0 Likes
0 Replies

How do I model this Article/Category scenario?

I have a scenario with Articles and Categories where each article can have only one category through...

0 Likes
0 Replies

Best practise to hold code with query builders of dashboard?

Hi, I have a dashboard where are many statistics of my DB data. Query builders are from many models....

0 Likes
0 Replies

Optional polymorphic relation

Hi there, Unfortunately I stumbled upon a thing which I can't seem to fix. What I am trying to achie...

0 Likes
1 Replies

How do you deal with Nested Sets (ie. Categories)?

I found a nice concept of Nested Sets but haven't really seen it put to use. Is this a practical met...

0 Likes
11 Replies
posted 8 years ago

Relations with multiple foreign keys

Hy everybody ! We have done this CMD: After that, we created Models with this relationships: *Model...

0 Likes
0 Replies

Eloquent freaking me out!

User.php class User extends EloquentUser implements AuthenticatableContract, AuthorizableContract, C...

0 Likes
2 Replies

Route Model Binding Return null.

Can Anyone help me with this issue? I'm new to laravel and would like to know how to resolve this. F...

0 Likes
1 Replies
Solved

custom primary key name

hi guys ! I have problem with many to many relationship , and i hope you help me :D this is my table...

0 Likes
0 Replies

Updating a model with relationship is giving me pain

I have users table and a profiles table structure is: users table has following fields id, name, em...

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