filipvanreeth/block-analyzer
Composer 安装命令:
composer require filipvanreeth/block-analyzer
包简介
WordPress Block Analyzer plugin that helps you to analyze the blocks used on your site.
README 文档
README
The Block Analyzer plugin is a tool for analyzing the blocks used in your WordPress site. It provides information about the blocks used on each page, including their names, attributes, and other details.
Installation
To install the Block Analyzer plugin, follow these steps:
- Download the plugin files from the WordPress plugin repository or from the Gitlab repository.
- Upload the plugin files to the
/wp-content/plugins/block-analyzerdirectory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the 'Plugins' screen in WordPress.
Usage
To use the Block Analyzer plugin, simply activate it and navigate to any page on your WordPress site. The plugin will automatically analyze the blocks used on the page and display the block used in (custom) posts and pages.
Configuration
The Block Analyzer plugin can be configured using the following filters:
block_analyzer/disable_block: Disables a specific block(s) from being analyzed.block_analyzer/disable_core_blocks: Disables all core blocks from being analyzed.
Examples
// Disables the core/paragraph and core/columns blocks from being analyzed.
add_filter('block_analyzer/disable_block', function ($blocks) {
$blocks[] = 'core/paragraph';
$blocks[] = 'core/columns';
return $blocks;
});
// Disables all core blocks from being analyzed.
add_filter('block_analyzer/disable_core_blocks', function ($status): bool {
return false;
});
Contributing
Contributions to the Block Analyzer plugin are welcome! To contribute, please follow these steps:
- Fork the repository.
- Create a new branch for your changes.
- Make your changes and commit them.
- Push your changes to your fork.
- Submit a pull request.
License
The Block Analyzer plugin is licensed under the GPL-2.0+ license.
filipvanreeth/block-analyzer 适用场景与选型建议
filipvanreeth/block-analyzer 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2 次下载、GitHub Stars 达 0, 最近一次更新时间为 2023 年 08 月 17 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「plugin」 「wordpress」 「analyzer」 「blocks」 「gutenberg」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 filipvanreeth/block-analyzer 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 filipvanreeth/block-analyzer 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 filipvanreeth/block-analyzer 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
CakePHP 4.x AdminLTE Theme.
Log analyzer widget for yii2
Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.
Phan plugins for Miraheze
Analyze queries generated by Prime ORM and dump unsafe or not optimized queries
A powerful Symfony bundle for user-agent analysis. It provides accurate detection of operating systems (Windows, MacOS, Linux, iOS, Android...), browsers (Chrome, Firefox, Safari...), and device types (Desktop, Mobile, Tablet, TV...). Supports specific version detection and includes advanced handlin
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 17
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2023-08-17