Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 423 Bytes

README.md

File metadata and controls

23 lines (18 loc) · 423 Bytes

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";
}