/Detect-CMS

PHP Library for detecting CMS

Primary LanguagePHPMIT LicenseMIT

Detect-CMS

PHP Library for detecting CMS

Install

composer require krisseck/detect-cms:dev-master

How to use:

include(__DIR__ . "/vendor/autoload.php");
$domain = "http://google.com";
$cms = new \DetectCMS\DetectCMS($domain);
if($cms->getResult()) {
    echo "Detected CMS: ".$cms->getResult();
} else {
    echo "CMS couldn't be detected";
}