PHPackages                             muathye/state-machines - 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. muathye/state-machines

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

muathye/state-machines
======================

The world of state machines and their applications in Laravel and PHP development.

301PHP

Since Jul 30Pushed 2y ago2 watchersCompare

[ Source](https://github.com/muath-ye/state-machines-php-example)[ Packagist](https://packagist.org/packages/muathye/state-machines)[ RSS](/packages/muathye-state-machines/feed)WikiDiscussions father Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

The world of state machines and their applications in Laravel and PHP development.

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

[](#installation)

```
composer create-project muathye/state-machines
```

Usage
-----

[](#usage)

Update `app.php` with different \[state\]

This implementaion is based on [this Laracon talk](https://youtu.be/1A1xFtlDyzU)

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 Bus Factor1

Top contributor holds 75% 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/66c9b114af377fd2400eb4737a18d5d6833a0ece6fc4f9d3b063000d50253f97?d=identicon)[muath-ye](/maintainers/muath-ye)

---

Top Contributors

[![muath-ye](https://avatars.githubusercontent.com/u/34031333?v=4)](https://github.com/muath-ye "muath-ye (6 commits)")[![WatheqAlshowaiter](https://avatars.githubusercontent.com/u/24838274?v=4)](https://github.com/WatheqAlshowaiter "WatheqAlshowaiter (2 commits)")

---

Tags

phpstate-machines

### Embed Badge

![Health badge](/badges/muathye-state-machines/health.svg)

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

###  Alternatives

[beyondcode/laravel-comments

Add comments to your Laravel application

608435.7k2](/packages/beyondcode-laravel-comments)[magepsycho/magento2-storepricing

Magento 2 Store View Pricing

2624.4k](/packages/magepsycho-magento2-storepricing)[lbaey/chromedriver

Utility for installing Chromedriver, whatever platform you are on, for use with Behat

1459.7k1](/packages/lbaey-chromedriver)

PHPackages © 2026

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