Laravel verschlüsselt automatisch das Modell atribute

protected $casts = [
    'secret' => Hash::class.':sha256',
];
Bug Killer