PHP code example of lablnet / site

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

    

lablnet / site example snippets




use Lablnet\Site;

 site url
echo Site::SiteUrl();

echo '<br> Random salts: ';

//for slug,random string
echo Site::Salts(10);

//for redirect
//Site::Redirect();