定制 playboxtech/detect-cms 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

playboxtech/detect-cms

最新稳定版本:0.5

Composer 安装命令:

composer require playboxtech/detect-cms

包简介

PHP Library for detecting CMS.

关键字:

README 文档

README

PHP Library for detecting CMS

Install

composer require playboxtech/detect-cms:dev-master

Based On:

This is based on https://github.com/Krisseck/Detect-CMS as the author has stopped updating his, decided to pick up where he left off. 

Updated:

Updated the [PHP Simple HTML DOM Parser](https://sourceforge.net/projects/simplehtmldom/) from version 0.5 to 1.91 as it was having issues with newer versions of PHP.
Added detection for GravCMS

TO DO:

Further update detection to use new built in PHP functions so no longer need to depend on external library. 
Detect additional types of CMS

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

统计信息

  • 总下载量: 17
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 51
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2024-07-15