PHP code example of qantis / url-generator

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

    

qantis / url-generator example snippets




use Qantis\Tools\UrlGenerator;

clé_secrete');
$url = $urlGenerator('[email protected]');
echo $url;
// renvoie /connexion/[email protected]&timestamp=111111&hash=xxxxxx



use Qantis\Tools\MkpUrlGenerator;

clé_secrete');
$url = $urlGenerator('[email protected]');
echo $url;

// renvoie /login/auto-login/[email protected]&timestamp=111111&hash=xxxxxx