PHPackages                             tiny-blocks/building-blocks - 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. tiny-blocks/building-blocks

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

tiny-blocks/building-blocks
===========================

Implements tactical DDD building blocks for PHP: entities, aggregate roots, domain events, snapshots, and upcasters.

4.0.0(2w ago)1651MITPHP ^8.5

Since Apr 18Compare

[ Source](https://github.com/tiny-blocks/building-blocks)[ Packagist](https://packagist.org/packages/tiny-blocks/building-blocks)[ Docs](https://github.com/tiny-blocks/building-blocks)[ RSS](/packages/tiny-blocks-building-blocks/feed)WikiDiscussions Synced 1w ago

READMEChangelogDependencies (10)Versions (9)Used By (1)

### README not available

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

###  Health Score

46

—

FairBetter than 92% of packages

Maintenance96

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

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

Total

8

Last Release

19d ago

Major Versions

1.1.1 → 2.0.02026-05-06

2.2.0 → 3.0.02026-05-19

3.0.0 → 4.0.02026-05-21

### Community

Maintainers

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

---

Tags

snapshotValue ObjectDomain Driven Designdddevent sourcingtiny-blocksdomain-eventsaggregate-rootbuilding-blocksupcasterintegration-events

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/tiny-blocks-building-blocks/health.svg)

```
[![Health](https://phpackages.com/badges/tiny-blocks-building-blocks/health.svg)](https://phpackages.com/packages/tiny-blocks-building-blocks)
```

###  Alternatives

[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

562565.8k41](/packages/ecotone-ecotone)[patchlevel/event-sourcing

A lightweight but also all-inclusive event sourcing library with a focus on developer experience

202332.6k11](/packages/patchlevel-event-sourcing)[prooph/snapshotter

snapshot tool for prooph event-store

19171.7k3](/packages/prooph-snapshotter)[pauci/cqrs

CQRS library

1725.2k3](/packages/pauci-cqrs)

PHPackages © 2026

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