10 months ago

Model with user defined fields and properties

Posted 10 months ago by octal

I would like to create a new Laravel app that will let users manage some items. For each item, users will have to possibility to add additional properties/fields.

Is there a good way to do that with Laravel/Eloquent? when a user add a new field to an item, is there a special API to add such fields to the model and (most problematic) to handle it automatically in forms validation? (I know I have to create the form dyanamically). Did anyone dealed with such problem?


Please sign in or create an account to participate in this conversation.