Skip to main content

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

  • 17162
  • Created Dec 2015
  • Updated Jun 2026

Files in this example

  • app/Models/Artist.php
View full example

akaunting/akaunting

  • 9876
  • Created Sep 2017
  • Updated Jun 2026

Files in this example

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

pterodactyl/panel

  • 8951
  • Created Dec 2016
  • Updated Jun 2026

Files in this example

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

pixelfed/pixelfed

  • 7003
  • Created Apr 2018
  • Updated Jun 2026

Files in this example

  • app/Status.php
View full example

Paymenter/Paymenter

  • 1762
  • Created Jul 2024
  • Updated Jun 2026

Files in this example

  • app/Models/AffiliateUser.php
View full example

ploi-deploy/roadmap

  • 561
  • Created May 2022
  • Updated Jun 2026

Files in this example

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

agorakit/agorakit

  • 450
  • 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

  • 63
  • Created Nov 2024
  • Updated Jun 2026

Files in this example

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