PHPackages                             smalldb/libsmalldb - 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. smalldb/libsmalldb

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

smalldb/libsmalldb
==================

Smalldb: State machine abstraction layer

v2.0.2(5y ago)32072Apache-2.0PHPPHP &gt;=7.4CI failing

Since Feb 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/smalldb/libSmalldb)[ Packagist](https://packagist.org/packages/smalldb/libsmalldb)[ Docs](https://smalldb.org/)[ RSS](/packages/smalldb-libsmalldb/feed)WikiDiscussions master Synced 1mo ago

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

libSmalldb
==========

[](#libsmalldb)

Smalldb, the state machine abstraction layer, is the framework to build a model layer of a web application using state machines. Smalldb combines formal finite automata, simple PHP code, and powerful SQL database into a single elegant package.

`libSmalldb` is the core library of the Smalldb framework. It provides implementation of Smalldb state machines and if used with flupdo, it can provide CRUD operations on SQL database out-of-the-box.

For more details check the project website:

-

License
-------

[](#license)

The most of the code is published under Apache 2.0 license. See [LICENSE](doc/license.md) file for details.

Contribution guidelines
-----------------------

[](#contribution-guidelines)

Project's primary repository is hosted at , feel free to submit issues there or create merge requests.

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 99.9% 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

Every ~203 days

Recently: every ~280 days

Total

11

Last Release

2075d ago

Major Versions

v0.8 → v2.02020-08-18

PHP version history (3 changes)v0.1PHP &gt;=5.4

v0.8PHP &gt;=7.0

v2.0PHP &gt;=7.4

### Community

Maintainers

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

---

Top Contributors

[![jkufner](https://avatars.githubusercontent.com/u/16572?v=4)](https://github.com/jkufner "jkufner (970 commits)")[![trejjam](https://avatars.githubusercontent.com/u/3594540?v=4)](https://github.com/trejjam "trejjam (1 commits)")

---

Tags

finite-state-machinemodelmvcphp-librarysmalldbstate-machine

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/smalldb-libsmalldb/health.svg)

```
[![Health](https://phpackages.com/badges/smalldb-libsmalldb/health.svg)](https://phpackages.com/packages/smalldb-libsmalldb)
```

###  Alternatives

[kris/laravel-form-builder

Laravel form builder - symfony like

1.7k2.2M45](/packages/kris-laravel-form-builder)

PHPackages © 2026

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