Skip to main content

"Back to School" Discount! Only until September 16th: 50% off Yearly/Lifetime membership!

Read more here

Code Examples of hasManyThrough

Discover how to use Laravel's hasManyThrough method in real-world applications. Browse 9 examples from popular open-source projects.

9 examples

koel/koel

  • 17239
  • Created Dec 2015
  • Updated Sep 2026

Files in this example

  • app/Models/Artist.php
View full example

akaunting/akaunting

  • 10108
  • Created Sep 2017
  • Updated Sep 2026

Files in this example

  • app/Models/Common/Widget.php
View full example

pterodactyl/panel

  • 9213
  • Created Dec 2016
  • Updated Aug 2026

Files in this example

  • app/Models/Server.php
    • app/Models/Location.php
View full example

pixelfed/pixelfed

  • 7093
  • Created Apr 2018
  • Updated Sep 2026

Files in this example

  • app/Status.php
View full example

Paymenter/Paymenter

  • 2285
  • Created Jul 2024
  • Updated Sep 2026

Files in this example

  • app/Models/AffiliateUser.php
View full example

ploi-deploy/roadmap

  • 569
  • Created May 2022
  • Updated Aug 2026

Files in this example

  • app/Models/Project.php
    • app/Http/Controllers/ItemController.php
View full example

agorakit/agorakit

  • 452
  • Created May 2016
  • Updated Feb 2026

Files in this example

  • app/User.php
View full example

LaraBug/larabug-app

  • 218
  • Created Apr 2021
  • Updated Oct 2023

Files in this example

  • app/Models/Project.php
View full example

nabilhassen/larasense

  • 64
  • Created Nov 2024
  • Updated Jun 2026

Files in this example

  • app/Models/Publisher.php
    • app/Livewire/Publishers/Show.php
View full example