1. Home
  2. Docs
  3. Laraship
  4. Customize Laraship
  5. Properties Column

Properties Column

Objects can have properties column which is a JSON of values to store additional attributes, it’s highly recommended to use this field whenever you have additional meta to the objects.

To Add Attributes support to the Model you need to add the ModelPropertiesTrait to the model, there are already many models utilizing this trait so you can use them as an example.

also, don’t forget to add the properties column to your migration file


here are the available functions for the Properties column:





70% OFF

No Minimum, No Exceptions