(07-30-2019, 12:07 PM)hlohrenz Wrote: Alright so I got the public git repo up so we can start testing it out and working out all the kinks and getting it to a place where it can be very helpful to developers who love developing in CodeIgniter!
Then maybe in the future, I could add a PR to the main CI4 repo if it becomes a hit!
https://github.com/hlohrenz/CI4-Relation...ry-Builder
Let me know what you all think <3 Feel free to clone it and test it out. I have tested all relationships (not the HasManyThrough), but I may have missed a few bugs so I would love if everybody messed around with it! I'm still working on adding more functionality. My main thing is adding the whereHas() method to models to add constraints depending on a constraint on the related model. 
Went through it, it's lovely, for now, it would be lovely making it a composer package for flexibility.