kasperstuck/detectcms

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

Installs: 174

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 51

pkg:composer/kasperstuck/detectcms

1.0.0 2016-12-01 12:59 UTC

This package is auto-updated.

Last update: 2025-09-21 07:32:28 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";
}