basilicom/pimcore-plugin-system-banner
Composer 安装命令:
composer require basilicom/pimcore-plugin-system-banner
包简介
Shows a banner of the pimcore environment, to indicate if you are on prod or dev or else.
README 文档
README
This plugin will show a banner on the top right with the environment name.
- development environments = green
- test environments = purple
- stage environments = yellow
- prod environments = red
it is used the .env variable APP_ENV.
Version information
| Bundle Version | PHP | Pimcore |
|---|---|---|
| < 2.0 | ^7.3 | ^6.0 |
| >= 2.0 | ^8.0 | ^10.0 |
| >= 3.0 | ^8.1 | ^11.0 |
| >= 4.0 | ^8.3 | ^12.0 |
Installation
composer require basilicom/pimcore-plugin-system-banner
Activate Plugin
- Add to config/bundles.php
return [
...
PimcorePluginSystemBannerBundle::class => ['all' => true],
];
or
- Activate in the Pimcore backend in Tools -> Bundles & Bricks
Build assets
for Pimcore >= 10
bin/console assets:install public --symlink --relative
for lower than Pimcore X respectively lower than Symfony 5
bin/console assets:install web --symlink --relative
Customize the env name and color
You can customize the display of the name in the .env file (or .env.local). Use the following variable:
SYSTEM_BANNER_TEXT="My env name"
To customize the color, you can use the following variable:
SYSTEM_BANNER_COLOR=purple
you can choose between:
- green
- yellow
- red
- purple
- blue
basilicom/pimcore-plugin-system-banner 适用场景与选型建议
basilicom/pimcore-plugin-system-banner 是一款 基于 TypeScript 开发的 Composer 扩展包,目前已累计 11.48k 次下载、GitHub Stars 达 1, 最近一次更新时间为 2021 年 04 月 12 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 basilicom/pimcore-plugin-system-banner 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 basilicom/pimcore-plugin-system-banner 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 11.48k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-04-12
