saschati/yii2-value-object (packagist): This extension will help you work with your fields in the database as objects by distilling them from scalar values ​​into objects and vice versa.
Keywords: data mapper|extension|Value Object|yii2|convert types