Save builder data in HasMany Relationship

Hello everyone,
I’m starting this conversation to discuss one of my needs.
In one of my projects, I needed to use a Builder component but store the result via a HasMany relationship instead of the traditional JSON approach.
So, I packaged this solution here: https://github.com/uni-deal/filament-relationship-builder As @Alex Six suggested, I’d love to hear your thoughts on the approach I used (which I partly borrowed from the Repeater component). I was wondering if this need comes up often—maybe it could even be integrated into Filament itself at some point (though that’s not up to me, lol).
I’m open to any suggestions or feedback regarding the approach, the code, or the single RelationshipBuilder.php file.
Looking forward to your thoughts! 🚀
GitHub
GitHub - uni-deal/filament-relationship-builder: Registers a Filame...
Registers a FilamentPHP builder via an Eloquent relationship with order, type, and data columns. - uni-deal/filament-relationship-builder
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?