PHP code example of nexuslinkservices / favicon-finder
1. Go to this page and download the library: Download nexuslinkservices/favicon-finder 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/ */
nexuslinkservices / favicon-finder example snippets
use FaviconFinder\IconFinder;
$iconFinder = new IconFinder();
$isFaviconAvailable = $iconFinder->isFaviconAvailable("http://packagist.com/");
if($isFaviconAvailable)
{
echo "Favicon Icon exist";
} else {
echo "Favicon Icon Does not exist";
}