'encrypted', // Automatically encrypts/decrypts 'services' => 'array', // Casts JSON to PHP array ]; // Hide password from standard array/JSON serialization for safety protected $hidden = ['password']; }