PHP code example of repat / novutec-typosquatting

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

    

repat / novutec-typosquatting example snippets


use Novutec\DomainParser\Parser;
use Novutec\TypoSquatting\Typo;

$typo = new Novutec\TypoSquatting\Typo();

$result = $typo->lookup($domain);

$typo->setSwitchingLetters(false);

$typo->setLayout('es');

$typo->setFormat('json');
$typo = new Novutec\TypoSquatting\Typo('json');