PHP code example of jakson-fischer / lgpd

1. Go to this page and download the library: Download jakson-fischer/lgpd library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

jakson-fischer / lgpd example snippets


LgpdMask::maskName('Carlos Eduardo Silva');

LgpdMask::maskCpf('123.456.789-00');

LgpdMask::maskRg('12345678-9');

LgpdMask::maskEmail('[email protected]');

LgpdMask::maskPhone('(11) 98765-4321');

LgpdMask::maskDateOfBirth('15/08/1990');