ddd-by-examples/library-php
This system is a library management application built on the Symfony framework, designed to manage book catalogues and patron lending activities. It provides domain models and business logic for maintaining a book catalogue and processing book holds, including validation of patron eligibility and hold limits. The architecture leverages Domain-Driven Design principles, utilizing domain events and value objects to handle core operations like checkouts and holds.
59.2
Adequate · 20 July 2026
1.4k
lines of production code
PHP
primary language
1
bus factor · 4 authors in all
2
measurements over time
How it got here
2019 · Initial project scaffolding and domain modeling
This period focused on establishing the foundational infrastructure and core domain models for the library system. It involved setting up the development environment, configuring dependencies, and implementing key domain entities such as the Catalogue, Lending, and shared kernel components. The work also introduced domain-driven design patterns, including event publishing and policy enforcement for book holds.
8 changes
2020–2024 · Initial project scaffolding and domain modeling
This period established the foundational architecture of the library application, introducing Symfony and Doctrine for the backend framework and database management. It included the creation of initial database schemas for checkouts and holds, alongside the implementation of core domain logic such as patron hold validation and result handling.
4 changes
Survey your own repository
ddd-by-examples/library-php was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.
About this page
- The description of this project is derived from its own commit history, not from its README.
- The score is its highest published measurement, taken on 20 July 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 805e09c214 — the exact code this score is about.
- Scored under rubric rubric-2026.08.17. Score the same commit under that rubric and you get the same number.