PHPackages                             teknoo/states-bundle - 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. teknoo/states-bundle

Abandoned → [teknoo/states](/?search=teknoo%2Fstates)Symfony-bundle[Utility &amp; Helpers](/categories/utility)

teknoo/states-bundle
====================

Symfony bunde to create PHP classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and thus improve maintainability. (Build on the Teknoo Software States library)

3.0.2(8y ago)32.8kMITPHP ~7.0

Since Dec 13Compare

[ Source](https://github.com/TeknooSoftware/statesBundle)[ Packagist](https://packagist.org/packages/teknoo/states-bundle)[ Docs](http://teknoo.software/states)[ RSS](/packages/teknoo-states-bundle/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (12)Versions (51)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/TeknooSoftware/statesBundle).

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity71

Established project with proven stability

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.

###  Release Activity

Cadence

Every ~24 days

Recently: every ~96 days

Total

46

Last Release

3081d ago

Major Versions

1.1.0-beta4 → 2.0.0-beta22015-10-31

1.1.0 → 2.0.0-rc12015-12-05

1.1.2 → 2.0.0-rc52016-02-01

1.1.3 → 2.2.22016-08-04

2.2.3 → 3.0.0-alpha12016-10-09

PHP version history (4 changes)0.9.1-rcPHP &gt;=5.4.0

2.0.0-beta2PHP &gt;5.6

1.1.0-beta5PHP &gt;=5.4,&lt;7

2.0.1PHP ~7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/e78f8fa644d9bbbd96dc92b2210e1290250522e56365345442c56eb8d042fb53?d=identicon)[frenchcomp](/maintainers/frenchcomp)

---

Tags

symfonybundleclasspatternstatesstate patternbehavioral software design pattern

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/teknoo-states-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/teknoo-states-bundle/health.svg)](https://phpackages.com/packages/teknoo-states-bundle)
```

###  Alternatives

[teknoo/states

Library to create classes following the State pattern in PHP. This can be a cleaner way for an object to change its behavior at runtime without resorting to large monolithic conditional statements and this improve maintainability and workflow writing.

1138.5k18](/packages/teknoo-states)[artgris/maintenance-bundle

Symfony Bundle to place your Symfony website in maintenance mode

2697.5k](/packages/artgris-maintenance-bundle)[ekreative/uuid-extra-bundle

Paramconverter, Normalizer and Form Type for Ramsey Uuid

18168.6k](/packages/ekreative-uuid-extra-bundle)[fsi/datagrid-bundle

FSi Datagrid Bundle

1859.8k1](/packages/fsi-datagrid-bundle)[glooby/task-bundle

Scheduling of tasks for symfony made simple

3216.3k](/packages/glooby-task-bundle)

PHPackages © 2026

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