Support the ongoing development of Laravel.io →
orbdev

orbdev

Joined 28 Sep 2014

Statistics

Threads 1
Replies 2
Solutions 0
Articles 0
28 Sep, 2014 at 05:10

Getting related model based on parent model.

Hi I want to search for like which is made by a given user on a given post. I have one Post model as...

0 Likes 1 Replies
1 Oct, 2014 at 09:40

Eloquent get count relation

Just to add to the solution provided by @jarektkaczyk in case you have morphMany relationship to mod...

0 Likes
30 Sep, 2014 at 07:13

Repository Pattern in Laravel 5

The code which you are using public function index() { return Model::find(1); } it is suitable...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2021 Laravel.io - All rights reserved.