{"id":92949,"library":"staudenmeir-eloquent-has-many-deep","title":"Eloquent HasManyThrough Deep","description":"Laravel Eloquent HasManyThrough relationships with unlimited levels","status":"active","version":"1.22.1","language":"php","source_language":null,"source_url":"https://github.com/staudenmeir/eloquent-has-many-deep","tags":["laravel","eloquent","relationship","deep"],"install":[{"cmd":"composer require staudenmeir/eloquent-has-many-deep","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"HasRelationships","correct":"use Staudenmeir\\EloquentHasManyDeep\\HasRelationships;"}],"quickstart":{"code":"use Staudenmeir\\EloquentHasManyDeep\\HasRelationships;\n\nclass User extends Model {\n    use HasRelationships;\n    public function posts() {\n        return $this->hasManyDeep(Post::class, [Comment::class, Like::class]);\n    }\n}","lang":"php","description":"Use the trait to define deep relationships"},"warnings":[{"fix":"Upgrade Laravel to 5.5 or higher","message":"Requires Laravel 5.5+","severity":"breaking","affected_versions":"<1.0.0"}],"env_vars":null,"search_vec":"'deep':3,14 'eloqu':1,5,12 'hasmanythrough':2,6 'laravel':4,11 'level':10 'relationship':7,13 'unlimit':9","created_at":"2026-06-19T09:40:42.490890+00:00","updated_at":"2026-06-19T09:40:42.490890+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/staudenmeir/eloquent-has-many-deep","github":"https://github.com/staudenmeir/eloquent-has-many-deep","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["orm","database"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}