luminark/serializable-values
#Luminark Serializable Values Package
Enables you to save serialized attribute values on your models. Simply use the HasSerializableValuesTrait trait on your models, define a values column on the model table and implement getSerializableAttributes() method to define which attributes' values can be serialized.
Example:
class Example extends Model
{
use HasSerializableValuesTrait;
protected function getSerializableAttributes()
{
return ['foo', 'bar'];
}
}
Related Packages
martinbean/laravel-sluggable-trait
A trait you can apply to Eloquent models to have slugs automatically generated o...
49,105
24
Version History
| Version | Released | Laravel | License |
|---|---|---|---|
| 0.2.2 | 5.* | MIT | |
| 0.2.1 | 5.* | MIT | |
| 0.2 | 5.* | MIT | |
| 0.1.1 | 5.* | MIT | |
| 0.1.0 | 5.* | MIT |