aeatech/web-snapshot-profiler-newrelic-bundle
Composer 安装命令:
composer require aeatech/web-snapshot-profiler-newrelic-bundle
包简介
Web snapshot profiler newrelic bundle for symfony (production ready)
README 文档
README
The package contains symfony bundle to profile web applications with newrelic. It can be used for production profiling.
System requirements:
- PHP >= 8.2
- ext-newrelic (tested on 12.1+)
Installation (Composer):
composer require aeatech/web-snapshot-profiler-newrelic-bundle
Auto installation
You can install it with custom recipe.
composer config extra.symfony.allow-contrib true composer config --json --merge extra.symfony.endpoint '["https://api.github.com/repos/AEATech/recipes/contents/index.json?ref=main", "flex://defaults"]' composer require aeatech/web-snapshot-profiler-newrelic-bundle
Manual installation
Enable bundle in dev and prod env.
// config/bundles.php return [ // ... AEATech\WebSnapshotProfilerNewrelicBundle\AEATechWebSnapshotProfilerNewrelicBundle::class => ['dev' => true, 'prod' => true], // ... ];
Configuration
Symfony Flex generates a default configuration in config/packages/aea_tech_web_snapshot_profiler_newrelic.yaml
aea_tech_web_snapshot_profiler_newrelic: # Enable/Disable profiling is_profiling_enabled: false # newrelic configuration newrelic: app_name: '%env(string:AEA_TECH_WEB_SNAPSHOT_PROFILER_NEWRELIC_APP_NAME)%' license: '%env(string:AEA_TECH_WEB_SNAPSHOT_PROFILER_NEWRELIC_LICENSE)%' ### # Event matched configuration - START ### event_matcher: # Enable/Disable all routes profiling is_profile_all_routes: false # Enable profile if header was set (\AEATech\WebSnapshotProfilerEventSubscriber\EventMatcher\HeaderEventMatcher) header: is_enabled: false name: 'x-profiling-header' value: '1' # Enable profile if request param was set and route matched (\AEATech\WebSnapshotProfilerEventSubscriber\EventMatcher\RequestParamAwareRouteEventMatcher) request: is_enabled: false name: 'x-profile-request-param' route_to_probability: # 1% probability to profile route - route_name: 'app_route_name_1' probability: 1 # 100% probability to profile route - route_name: 'app_route_name_2' probability: 100 # Enabled profile if route matched and probability happened route: is_enabled: false route_to_probability: # 1% probability to profile route - route_name: 'app_route_name_1' probability: 1 # 100% probability to profile route - route_name: 'app_route_name_2' probability: 100 ### # Event matched configuration - END ###
License
MIT License. See LICENSE for details.
aeatech/web-snapshot-profiler-newrelic-bundle 适用场景与选型建议
aeatech/web-snapshot-profiler-newrelic-bundle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 12 月 23 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「web」 「bundle」 「snapshot」 「profiler」 「newrelic」 「aeatech」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 aeatech/web-snapshot-profiler-newrelic-bundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 aeatech/web-snapshot-profiler-newrelic-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 aeatech/web-snapshot-profiler-newrelic-bundle 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PDF or Image generation from a Url or HTML page
Model of a web-based resource
2lenet/EasyAdminPlusBundle
The bundle for easy using json-rpc api on your project
Captures website screenshot and converts website to PDF using Screenshot machine - online website screenshot generator and website to PDF converter.
Guzzle Snapshots Middleware
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 28
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-23