multi_relation multi_relation offers the ability to specify relationships based on two (or more) columns in hyperf Eloquent ORM