staudenmeir / eloquent-has-many-deep

Laravel Eloquent HasManyThrough relationships with unlimited levels
MIT License
2.67k stars 157 forks source link

Add ManyToMany -> ManyToMany Example #54

Closed iwasherefirst2 closed 4 years ago

iwasherefirst2 commented 4 years ago

It seems that many people are interested in this scenario. Its actually how I found this package, through your post from one year ago: https://laravel.io/forum/03-04-2014-hasmanythrough-with-many-to-many

I also renamed the BelongsToMany to ManyToMany. Although the function call is BelongsToMany its generally referred as ManyToMany.

staudenmeir commented 4 years ago

Thanks!