PHPackages                             nolka/php-behavior-tree - 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. nolka/php-behavior-tree

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

nolka/php-behavior-tree
=======================

Stateful BehaviorTree implementation in pure php 8

393PHP

Since Jan 12Pushed 4y ago2 watchersCompare

[ Source](https://github.com/nolka/php-behavior-tree)[ Packagist](https://packagist.org/packages/nolka/php-behavior-tree)[ RSS](/packages/nolka-php-behavior-tree/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

PHP Behavior Tree
=================

[](#php-behavior-tree)

This is pure php 8 implementation of BehaviorTree model, and inspired from [Unreal Engine](https://docs.unrealengine.com/4.26/en-US/InteractiveExperiences/ArtificialIntelligence/BehaviorTrees/), and [BtEngineSDK](http://qualgame.com/concept/bt/)

Feel free to use this library in your own projects, or make PRs, or maybe creating new issues)

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity27

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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/c80e851bdd6d8b22ffb37018c4f7c30ae2ee2b853d1b250114ed552cc2370121?d=identicon)[nolka](/maintainers/nolka)

---

Top Contributors

[![nolka](https://avatars.githubusercontent.com/u/321107?v=4)](https://github.com/nolka "nolka (10 commits)")

### Embed Badge

![Health badge](/badges/nolka-php-behavior-tree/health.svg)

```
[![Health](https://phpackages.com/badges/nolka-php-behavior-tree/health.svg)](https://phpackages.com/packages/nolka-php-behavior-tree)
```

###  Alternatives

[erickskrauch/phpstan-yii2

Yii2 extension for PHPStan

1269.5k1](/packages/erickskrauch-phpstan-yii2)[metrakit/faker-eddy-malou

Use Eddy Malou sentences for your dummy texts

172.7k](/packages/metrakit-faker-eddy-malou)

PHPackages © 2026

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