jezzdk/detect-cms

There is no license information available for the latest version (1.0.2) of this package.

PHP Library for detecting CMS

Maintainers

Details

github.com/jezzdk/Detect-CMS

Source

Installs: 39

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 51

pkg:composer/jezzdk/detect-cms

1.0.2 2019-08-27 11:40 UTC

This package is auto-updated.

Last update: 2025-09-14 05:02:06 UTC


README

PHP Library for detecting CMS

Install

Add to your composer.json

{
    "repositories":[
        {
            "type": "vcs",
            "url": "git@github.com:Krisseck/Detect-CMS.git"
        }
    ],
    "require":{
        "Detect-CMS":"1.0.*"
    }
}

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