PHP code example of itcrackers / helper

1. Go to this page and download the library: Download itcrackers/helper 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/ */

    

itcrackers / helper example snippets




TCrackers\Helper\Masking;

echo Masking::email('[email protected]');

use ITCrackers\Helper\Masking;

echo Masking::email('[email protected]');



TCrackers\Helper\Masking;
use ITCrackers\Helper\Validation;

echo Masking::email('[email protected]');

echo Masking::phone('8619844326');

Validation::email('[email protected]');

Validation::phone('8619844326');



use ITCrackers\Helper\Masking;
use ITCrackers\Helper\Validation;

Masking::aadhaar('123412341234');

Validation::aadhaar('123412341234');

Masking::email('[email protected]');

Masking::phone('8619844326');

Masking::aadhaar('123412341234');

Masking::pan('ABCDE1234F');

Validation::email('[email protected]');

Validation::phone('8619844326');

Validation::aadhaar('123412341234');

Validation::pan('ABCDE1234F');

itcrackers-helper/
│
├── src/
│   ├── Masking.php
│   ├── Validation.php
│   └── ...
│
├── tests/
│
├── composer.json
├── phpunit.xml
├── README.md
├── CHANGELOG.md
├── CONTRIBUTING.md
├── LICENSE
└── .gitignore