定制 grummfy/php-debugbar-clevercloud 二次开发

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

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

grummfy/php-debugbar-clevercloud

Composer 安装命令:

composer require grummfy/php-debugbar-clevercloud

包简介

Adding information from instance running on clever cloud for the php debugbar

README 文档

README

Adding information from instance running on clever cloud for the php debugbar.

Install & configuration

composer require --dev grummfy/php-debugbar-clevercloud

Then add to your debugbar :

$debugbar->addCollector(new Grummfy\DebugBar\CleverCloudCollector());

You can also say to hide some value by giving them to the debug bar:

$debugbar->addCollector(new Grummfy\DebugBar\CleverCloudCollector(['APP_ID']));

Integration to other debug bar

On any bar based on php-debugbar, it will be the same.

An example with laravel:

Debugbar::addCollector(new Grummfy\DebugBar\CleverCloudCollector());

List of data exposed

  • APP_ID: the ID of the application.
  • INSTANCE_ID: the ID of the current instance (scaler) of your application.
  • INSTANCE_TYPE: The type of the instance (scaler).
  • COMMIT_ID: the commit ID used as a base to deploy your application.
  • APP_HOME: the absolute path of your application on the server.
  • INSTANCE_NUMBER: the number of this instances inside all the sacaler (if you got 3 scaler it can be a number between 0 to 2)

More information of environment variables.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-08-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固