定制 omatech/laravel-env-corner-component 二次开发

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

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

omatech/laravel-env-corner-component

Composer 安装命令:

composer require omatech/laravel-env-corner-component

包简介

README 文档

README

Do you have the classic client that confuses the production environment with the testing environment? This simple package is your solution! This prints a banner in the lower right corner to remember the current environment.

Installation

  1. Require the package in your composer.json.
composer require omatech/laravel-env-corner-component
  1. Publish config and components files.
php artisan vendor:publish 
Omatech\EnvCornerComponent\App\Providers\PublishServiceProvider
  1. Include the component in your layout before </body> tag.
@include('components.vendor.corner')

Extras

  • Configure in which environments you have to show the banner in the configuration file: /config/env-corner-component.php
return [
    'enabled' => true,
    'renderWhen' => [
        'test', 'preprod', 'preproduction'
    ]
];
  • Disable the component by setting the option enabled to false.

  • Customize the banner by modifying the component: views/components/vendor/corner.blade.php

Credits

Organization

Contributors

See the contributors list here.

License

MIT license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-11-15

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固