nexuslinkservices / favicon-finder
v1.0.0
2016-10-08 12:16 UTC
Requires
- php: >=5.6.2
Requires (Dev)
- phpunit/phpunit: 5.5.*
This package is not auto-updated.
Last update: 2024-11-09 19:30:23 UTC
README
Check if website have favicon icon exist or not
Installation
If you use composer, you can add this package by running
composer require galiteintechnologies/favicon-finder
Usage
<?php
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";
}
Output
Favicon Icon exist
CONTRIBUTING:
Pull requests are always welcome.