I had dreams of pulling off some EAV model with laravel. I about blew my brains out... lol.
I didn't pan out for me as I found an alternative to store custom field type data as json or serialized key:value pair in a data column. My particular case was for password storage where depending on what the password was for dictated what fields the user was shown.
Don't give up though, would like to see what you come up with.
The folks over at Cartalyst have a package called Attributes that does most of this, https://cartalyst.com/manual/attributes and in their platform, they have a package that does the input display, validation, etc...
Has anyone had luck in trying to achieve this? Really need it bad. I tried making one but as JamesWagoner said, it really does blow your brains out. It works, although with such a messy code. Could anyone point me to the right direction?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community