Support the ongoing development of Laravel.io →

4,311 Threads

Passing data to view

Hi All Laravel Master, Now i'm stuck and have no idea. would you please help to find out the solutio...

0 Likes
2 Replies

Cannot create product's property table which values are dependent on data type

Hi, everyone. The idea is that the site administrator will create custom product properties with dat...

0 Likes
0 Replies

Use chain relationships in a query

Hello there, I am trying to get the most descent and powerful way to make a query to my database to...

0 Likes
0 Replies
posted 8 years ago

One to Many Relationships

Hey guys, I have a problem with one to many relationships. I have 2 models, User and Language. User...

0 Likes
0 Replies
posted 8 years ago

How do I retrieve pivot table from Many To Many Polymorphic Relations ?

I have a table structure as this : posts id - integer name - string videos id - integer name - stri...

0 Likes
2 Replies
Solved

Laravel 5 - model localization

Hi, I have simple question regarding model licalization. How do you approarch this in laravel and sq...

0 Likes
3 Replies

multilingual database

I hope this thread finds everyone healthy. I am designing a multilingual database using laravel eloq...

0 Likes
1 Replies

Translation tables

Hi all, While creating a multilingual API I bumped into some problems. I have the following DB setup...

0 Likes
4 Replies

Getting data from two models

I have one table as "Consultant" and another table as "ConsultantsStatus". There...

0 Likes
0 Replies

Whats the difference with this code and which is faster

I have some confusion on what's the difference with this codes. I have been accustomed in using eloq...

0 Likes
4 Replies

Laravel 5.0 | Eloquent Eager Loading resulting only in one row.

I am trying to implement laravel elquent eager loading concept. Here are my two models and the contr...

0 Likes
1 Replies

How to create relationship between two model

Hi I am New User of Laravel so,pls can anybody help me that how two join two model i have two tab...

0 Likes
1 Replies

How to constraint eager loading with query scope for each relation?

Hi all, I am creating a admin panel and I have 3 tables in my DB: groups, roles, users. I have a man...

0 Likes
0 Replies
posted 8 years ago

Mass-create models with multiple relationships?

I have three models that are something like Grid, GridItem, and Item. Grid has pages, rows, and cols...

0 Likes
0 Replies

Not loading some ManyToMany Polymorphic Relationships

Odd thing happening, my M2M Polymorphic relationships are being temperamental. I have the schema set...

0 Likes
1 Replies
Solved

Laravel Dont see my mongoDB connection

Hi. I have a problem with connect to mongodb database with laravel. I do every steps in https://gith...

0 Likes
2 Replies

Triple Pivot Challenge- Looping through a Collection

I have the following challenge, trying to join 3 tables in Laravel 5: I have a many-to-many relation...

0 Likes
0 Replies

"belongsTo" relations with multiple ids

I have two table: Rooms Facilities The Facilities rooms contains the id and a varchar column. The...

0 Likes
1 Replies

Php Tinker Error

My directory structure is CBridge->app->Models->Companies In companies.php I have below cod...

0 Likes
0 Replies

Retrieve data from migration unsuccessfully

Hi. I am trying to retrieve data from a table called users. The data is not showing,though. How do I...

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.