Support the ongoing development of Laravel.io →
AndreiLunga

AndreiLunga

Joined 19 Mar 2014

Statistics

Threads 0
Replies 8
Solutions 0
Articles 0

andreilunga has not posted any threads yet

replied 11 years ago

How to get json using jquery Eloquent with relationships

After get() chain the toJson() method. You'll get the json string.

0 Likes
replied 11 years ago

One to One Relationship with two fields(columns) connection, how?

Maybe you should take a look at polymorphic relationships? http://laravel.com/docs/eloquent#many-to-...

0 Likes
replied 11 years ago

What does this exactly do? $app = new Illuminate\Foundation\Application;

PSR-0 autoloading enabled. The namespace points to the before metnioned path.

0 Likes

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.

© 2026 Laravel.io - All rights reserved.