定制 blackbird/module-environment-banner 二次开发

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

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

blackbird/module-environment-banner

Composer 安装命令:

composer require blackbird/module-environment-banner

包简介

Magento 2 extension. Tell at a glance if you are in a production, staging or dev environment - visual banners on frontend and admin

README 文档

README

Magento 2 extension that provides a quick visual indication of the environment (production, staging, or development) you are currently in, with banners displayed on both the frontend and admin areas.

Why choose this extension?

This module offers a convenient solution for teams working on Magento projects to easily identify the environment they are working in, helping to prevent any accidental changes or actions in production environments. With clear banners displayed prominently, developers, testers, and administrators can confidently navigate through different environments without confusion.

Features

  • Visual banners displayed on frontend and admin areas.
  • Clearly distinguish between production, staging, and development environments.
  • Easy setup and configuration.

Installation

  1. Install via Composer
composer require blackbird/module-environment-banner
  1. Enable the module
php bin/magento setup:upgrade
  1. Configure the extension in the Magento admin panel under Stores > Configuration > Advanced > Environment Banner. Fill the environment mapping.

  2. Add the environment to the app/etc/env.php file. The value should match one from the mapping.

[
    'system' => [
        'default' => [
            'environment' => 'development',
        ],
    ],
];

About this fork

This extension is a fork of the original c3limited/magento2-environment-banner module. While the original module provided valuable functionality, it had limitations such as compatibility only with Apache servers and absence from Packagist. In our fork, we have addressed these limitations and made enhancements for broader compatibility, including support for Nginx and other web servers.

Notably, instead of relying on server configuration, as in the original module, our fork utilizes the env.php file for environment configuration, offering greater flexibility and ease of use.

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固