PHP code example of lantern-lighthouse / urlser

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

    

lantern-lighthouse / urlser example snippets


use URLser\URLser;

foreach (array_map("strtolower", URLser::parse_domain("https://github.com/Lantern-Lighthouse/URLser")) as $tag)
{
	// ...
}

$pgName = URLser::get_page_name("https://github.com/Lantern-Lighthouse/URLser"); // Set the value to "Lantern-Lighthouse/URLser"