Laravel Eloquent Model Dynamic Stored Properties from and to a single serialized field
<p>Using Eloquent L5.1</p>

<p>I'd like to not have to define a set of properties for a model. Instead having everything stored within the database as a serialized column.</p>

<p>In other words any property that is set to this model should before save be removed from the object and added to an array to be serialized and then saved in db to a "data" column.</p>

<p>In turn after retrieving the object from db the model should be hydrated with the de-serialized parameters from the data column.</p>

<p>I could override a good number of Illuminate\Database\Eloquent\Model methods to accomplish this and I'm willing to do so, was curious if anyone had an example of this.</p>

<hr>

<p>An example of this might be for configuration objects that have virtually unlimited unknown values that have multiple itterations for different objects or for different users.</p>