PHPackages                             spryker/state-machine - 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. spryker/state-machine

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

spryker/state-machine
=====================

StateMachine module

2.25.0(2mo ago)32.6M↓51.5%20proprietaryPHPPHP &gt;=8.3CI passing

Since Jun 10Pushed 2mo ago8 watchersCompare

[ Source](https://github.com/spryker/state-machine)[ Packagist](https://packagist.org/packages/spryker/state-machine)[ RSS](/packages/spryker-state-machine/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (10)Dependencies (28)Versions (65)Used By (20)

StateMachine Module
===================

[](#statemachine-module)

[![Latest Stable Version](https://camo.githubusercontent.com/496cd2ef136c54949921b0ba926a336e252b74b0ca645f2ddbdd74093dee5468/68747470733a2f2f706f7365722e707567782e6f72672f737072796b65722f73746174652d6d616368696e652f762f737461626c652e737667)](https://packagist.org/packages/spryker/state-machine)[![Minimum PHP Version](https://camo.githubusercontent.com/9c50dc780fa576f5c39b4feff00c05345c1471be0808881a09e750b91220dc54/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e332d3838393242462e737667)](https://php.net/)

StateMachine provides a generic state machine, that can be used to support complex processes such as implementing a checkout process.

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

[](#installation)

```
composer require spryker/state-machine

```

Documentation
-------------

[](#documentation)

[Spryker Documentation](https://docs.spryker.com)

###  Health Score

67

—

FairBetter than 99% of packages

Maintenance86

Actively maintained with recent releases

Popularity43

Moderate usage in the ecosystem

Community35

Small or concentrated contributor base

Maturity92

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~70 days

Recently: every ~126 days

Total

52

Last Release

74d ago

Major Versions

1.0.7 → 2.0.02017-02-22

PHP version history (8 changes)2.2.1PHP &gt;=7.1

2.7.0PHP &gt;=7.2

2.12.2PHP &gt;=7.3

2.15.0PHP &gt;=7.4

2.16.2PHP &gt;=8.0

2.19.0PHP &gt;=8.1

2.21.0PHP &gt;=8.2

2.23.0PHP &gt;=8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/10738957?v=4)[Spryker Bot](/maintainers/spryker-bot)[@spryker-bot](https://github.com/spryker-bot)

---

Top Contributors

[![dereuromark](https://avatars.githubusercontent.com/u/39854?v=4)](https://github.com/dereuromark "dereuromark (159 commits)")[![stereomon](https://avatars.githubusercontent.com/u/1382877?v=4)](https://github.com/stereomon "stereomon (39 commits)")[![gerner-spryker](https://avatars.githubusercontent.com/u/30629375?v=4)](https://github.com/gerner-spryker "gerner-spryker (10 commits)")[![olhalivitchuk](https://avatars.githubusercontent.com/u/77281282?v=4)](https://github.com/olhalivitchuk "olhalivitchuk (9 commits)")[![m7moud](https://avatars.githubusercontent.com/u/3217954?v=4)](https://github.com/m7moud "m7moud (9 commits)")[![artem-png](https://avatars.githubusercontent.com/u/15310986?v=4)](https://github.com/artem-png "artem-png (9 commits)")[![pushokwhite](https://avatars.githubusercontent.com/u/4017411?v=4)](https://github.com/pushokwhite "pushokwhite (8 commits)")[![a-sabaa](https://avatars.githubusercontent.com/u/1667759?v=4)](https://github.com/a-sabaa "a-sabaa (7 commits)")[![zssamoylov](https://avatars.githubusercontent.com/u/43746999?v=4)](https://github.com/zssamoylov "zssamoylov (6 commits)")[![AsonUnique](https://avatars.githubusercontent.com/u/20453760?v=4)](https://github.com/AsonUnique "AsonUnique (5 commits)")[![dpodliesnyi](https://avatars.githubusercontent.com/u/23454601?v=4)](https://github.com/dpodliesnyi "dpodliesnyi (5 commits)")[![gechetspr](https://avatars.githubusercontent.com/u/42143273?v=4)](https://github.com/gechetspr "gechetspr (5 commits)")[![geega](https://avatars.githubusercontent.com/u/1426310?v=4)](https://github.com/geega "geega (5 commits)")[![vlunov-spryker](https://avatars.githubusercontent.com/u/17848943?v=4)](https://github.com/vlunov-spryker "vlunov-spryker (5 commits)")[![matweew](https://avatars.githubusercontent.com/u/454530?v=4)](https://github.com/matweew "matweew (4 commits)")[![ievgenvarava](https://avatars.githubusercontent.com/u/18212435?v=4)](https://github.com/ievgenvarava "ievgenvarava (4 commits)")[![alexanderM91](https://avatars.githubusercontent.com/u/20976979?v=4)](https://github.com/alexanderM91 "alexanderM91 (4 commits)")[![kraal-spryker](https://avatars.githubusercontent.com/u/42177964?v=4)](https://github.com/kraal-spryker "kraal-spryker (4 commits)")[![vhrychenko](https://avatars.githubusercontent.com/u/8993180?v=4)](https://github.com/vhrychenko "vhrychenko (4 commits)")[![PhilinTv](https://avatars.githubusercontent.com/u/376033?v=4)](https://github.com/PhilinTv "PhilinTv (3 commits)")

### Embed Badge

![Health badge](/badges/spryker-state-machine/health.svg)

```
[![Health](https://phpackages.com/badges/spryker-state-machine/health.svg)](https://phpackages.com/packages/spryker-state-machine)
```

PHPackages © 2026

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