bakabot/component-core 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

bakabot/component-core

Composer 安装命令:

composer require bakabot/component-core

包简介

Provides the core functionality and facilities of the bot.

README 文档

README

Provides the core functionality and facilities of the bot.

Installation

composer require bakabot/component-core

Configuration

Parameters

Name Type Default Value Description
bakabot.debug bool getenv('APP_DEBUG') ?? false Whether to run the bot in debugging mode
bakabot.default_language string Locale::getPrimaryLanguage(Locale::getDefault()) Default language assumed for servers
bakabot.default_prefix string "!" Default prefix used for commands
bakabot.dirs.base string "/app" Base directory
bakabot.dirs.cache string "/app/var/cache" Cache directory; Used for e.g. compiled DI containers
bakabot.dirs.var string "/app/var" Variable data; The bot should not depend on this directory existing
bakabot.env string getenv('APP_ENV') ?? "prod" Name of the environment
bakabot.logs.default.date_format string "Y-m-d H:i:s.u" Date format used for logs
bakabot.logs.default.level string getenv('APP_DEBUG') ? LogLevel::DEBUG : LogLevel::INFO Level used for logs
bakabot.logs.default.line_format string "[%datetime%] [%channel%] %message% %context% %extra%\n" Line format used for logs
bakabot.name string getenv('APP_NAME') ?? "Bakabot" Name used for the bot

Services

Name Description
Bakabot\Command\Registry No description available.
Bakabot\Payload\Processor\Firewall\Firewall No description available.
Bakabot\Payload\Processor\ProcessorChain No description available.
Monolog\Logger (provides: Psr\Log\LoggerInterface) Main application logger
Psr\Log\LoggerInterface Main application logger
"bakabot.logs.default" (is: Psr\Log\LoggerInterface) Logs to stdout
"bakabot.logs.error" (is: Psr\Log\LoggerInterface) Logs to stderr

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-05-07