PHPackages                             bakabot/component-core - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. bakabot/component-core

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

bakabot/component-core
======================

Provides the core functionality and facilities of the bot.

1121[1 PRs](https://github.com/bakabot-php/component-core/pulls)PHPCI failing

Since Jan 16Pushed 3y ago1 watchersCompare

[ Source](https://github.com/bakabot-php/component-core)[ Packagist](https://packagist.org/packages/bakabot/component-core)[ RSS](/packages/bakabot-component-core/feed)WikiDiscussions main Synced yesterday

READMEChangelogDependenciesVersions (3)Used By (0)

bakabot-core [![Latest Stable Version](https://camo.githubusercontent.com/15d2fecbb043bbfe91a20630129955265fa1f1c8837f602612679578ad9df282/68747470733a2f2f706f7365722e707567782e6f72672f62616b61626f742f636f6d706f6e656e742d636f72652f76)](//packagist.org/packages/bakabot/component-core) [![License](https://camo.githubusercontent.com/ba5d7998e009129914d075e23ff9408b80cebc348171943c0e74c880dcb030d8/68747470733a2f2f706f7365722e707567782e6f72672f62616b61626f742f636f6d706f6e656e742d636f72652f6c6963656e7365)](//packagist.org/packages/bakabot/component-core) [![Build Status](https://camo.githubusercontent.com/0e9688768078ae63e31ac73a0bedc550242ea47ce9851b008581e841f7b2565a/68747470733a2f2f7472617669732d63692e636f6d2f62616b61626f742d7068702f636f6d706f6e656e742d636f72652e7376673f6272616e63683d6d61696e)](https://travis-ci.com/bakabot-php/component-core)
====================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#bakabot-core---)

Provides the core functionality and facilities of the bot.

Installation
------------

[](#installation)

`composer require bakabot/component-core`

Configuration
-------------

[](#configuration)

### Parameters

[](#parameters)

NameTypeDefault ValueDescription`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

[](#services)

NameDescription`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

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

Top contributor holds 94.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5f61d225a45bcac5359c16f3cdda3c106322831ebc50f6fb03d4b87ce207b911?d=identicon)[nayleen](/maintainers/nayleen)

---

Top Contributors

[![nayleen](https://avatars.githubusercontent.com/u/3086616?v=4)](https://github.com/nayleen "nayleen (18 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")

---

Tags

bot-frameworkphpphp-libraryphp8

### Embed Badge

![Health badge](/badges/bakabot-component-core/health.svg)

```
[![Health](https://phpackages.com/badges/bakabot-component-core/health.svg)](https://phpackages.com/packages/bakabot-component-core)
```

###  Alternatives

[fof/forum-statistics-widget

Add a forum statistics widget to the sidenav section of your Flarum forum.

1030.7k1](/packages/fof-forum-statistics-widget)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
