承接 plesk/wappspector 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

plesk/wappspector

Composer 安装命令:

composer create-project plesk/wappspector

包简介

Command-line interface utility to analyze the file structure of a web hosting server and identify the frameworks and CMS used in the websites hosted on it.

README 文档

README

Command-line interface utility to analyze the file structure of a web hosting server and identify the frameworks and CMS used in the websites hosted on it.

unit-test

Matchers

Technology & Frameworks

Technology Version Check type
PHP - Any *.php file
Ruby 2, 3 Rakefile in root dir
Python 2, 3 Any *.py file
Laravel 8, 9, 10 artisan file in root dir
Symfony 3, 4, 5, 6 symfony.lock file in root dir
CodeIgniter 4 spark file in root dir
CakePHP 3, 4 bin/cake file
Yii 2 yii file in root dir
Composer - composer.json file in root dir
.NET - Any *.dll file
Node.js - package.json file in root dir

CMS

Name Major version Check type
WordPress 2 - 6 Existence and contents of wp-includes/version.php
Joomla! 1 - 6 Existence and contents of configuration.php in root dir and version files in libraries/src/Version.php or libraries/cms/version/version.php or similar
Drupal 6 - 10 Existence and contents of /modules/system/system.info or /core/modules/system/system.info.yml
PrestaShop 1.6, 1.7.8, 8.0 Existence and contents of /config/settings.inc.php
TYPO3 7.6, 8.7, 9, 10, 11, 12 Existence and contents of /typo3/sysext/core/Classes/Core/SystemEnvironmentBuilder.php or /typo3/sysext/core/Classes/Information/Typo3Version.php or /t3lib/config_default.php
EmDash 0.0.3 - 0.4.0 Existence and contents of package.json

Site builders

Name Check type
Sitejet The index.html file exists and contains the ed-element and webcard.apiHost= strings
WebPresenceBuilder The index.html file contains the <meta name="generator" content="Web Presence Builder <vesrion>"> tag or contains the following DOM structure: the div tag with the page ID contains the div tags with the watermark and layout IDs
Site.pro The sitepro folder exists and the sitepro string is contained in the web.config or .htaccess files
Duda.co The Style folder contains the desktop.css, mobile.css, or tablet.css files. The style file contains the dmDudaonePreviewBody or dudaSnipcartProductGalleryId strings, or the Scripts/runtime.js file contains the duda string
Siteplus The index.html file exists and contains the edit.site string, and the /bundle/publish/<version> directory exists and contains the bundle.js file. The bundle.js file contains the siteplus string

How to build phar

composer global require clue/phar-composer
composer install
php -d phar.readonly=off ~/.composer/vendor/bin/phar-composer build .

Run the created wappspector.phar:

./wappspector.phar ./test-data

Changing matchers order

To change the matchers order or to disable some of them, you should override matchers entry of DI container.

$diContainer = \Plesk\Wappspector\DIContainer::build();
$matchers = $diContainer->get('matchers');
array_unshift($matchers, \Some\New\Matcher::class);
$diContainer->set('matchers', $matchers);

or

// only detect WordPress installs
$diContainer = \Plesk\Wappspector\DIContainer::build();
$diContainer->set('matchers', [\Plesk\Wappspector\Matchers\Wordpress::class]);

Testing

./vendor/bin/phpunit

plesk/wappspector 适用场景与选型建议

plesk/wappspector 是一款 基于 HTML 开发的 Composer 扩展包,目前已累计 12.23k 次下载、GitHub Stars 达 15, 最近一次更新时间为 2023 年 06 月 27 日, 在 PHP 生态内属于活跃度较高的组件。

我们在过去多个企业项目中使用过 plesk/wappspector 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 plesk/wappspector 我们能提供哪些服务?
定制开发 / 二次开发

基于 plesk/wappspector 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

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

GitHub 信息

  • Stars: 15
  • Watchers: 19
  • Forks: 1
  • 开发语言: HTML

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2023-06-27