Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel automatically encrypt model atribute

protected $casts = [
    'secret' => Hash::class.':sha256',
];
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #automatically #encrypt #model #atribute
ADD COMMENT
Topic
Name
9+3 =