Support the ongoing development of Laravel.io →
Database Eloquent Packages
Last updated 2 years ago.
0

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.

Last updated 2 years ago.
0

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...

Last updated 2 years ago.
0

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?

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.