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

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

rodrigopedra/state-machine
==========================

A Finite State Machine implementation

v0.1.0(5y ago)126MITPHPPHP &gt;=7.4

Since Mar 4Pushed 5y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (11)Versions (2)Used By (0)

State Machine
=============

[](#state-machine)

This package provides a Finite State Machine implementation.

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

[](#installation)

```
composer require rodrigopedra/state-machine

```

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

[](#configuration)

Although Laravel is not required for usage, a Service Provider for Laravel is included.

Will add a complete `README` on the near future. Right now please refer to the `examples` folder for usage.

To-Do
-----

[](#to-do)

- Add documentation
- Add tests

License
-------

[](#license)

This package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1899d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/28b79e134ef3cb5144da8f2c5af057533fcdf0afc1b7b083e8eafbbc8ee08a67?d=identicon)[rodrigo.pedra](/maintainers/rodrigo.pedra)

---

Top Contributors

[![rodrigopedra](https://avatars.githubusercontent.com/u/5470108?v=4)](https://github.com/rodrigopedra "rodrigopedra (1 commits)")

---

Tags

laravelfinite-state machinestate-machine

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-data

Create unified resources and data transfer objects

1.7k28.9M627](/packages/spatie-laravel-data)[tarfin-labs/event-machine

Event-driven state machines for Laravel with event sourcing, type-safe context, and full audit trail.

188.5k](/packages/tarfin-labs-event-machine)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

123544.7k](/packages/worksome-exchange)[ralphjsmit/livewire-urls

Get the previous and current url in Livewire.

82270.3k4](/packages/ralphjsmit-livewire-urls)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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