PHPackages                             open-solid/core - 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. [Framework](/categories/framework)
4. /
5. open-solid/core

ActiveSymfony-bundle[Framework](/categories/framework)

open-solid/core
===============

Building Blocks for Modular Architecture with Symfony

v0.2.8(1mo ago)03.8k↑37.5%2MITPHPPHP &gt;=8.4CI passing

Since Feb 4Pushed 1mo agoCompare

[ Source](https://github.com/open-solid/core)[ Packagist](https://packagist.org/packages/open-solid/core)[ RSS](/packages/open-solid-core/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (18)Versions (11)Used By (2)

OpenSolid Core
==============

[](#opensolid-core)

Building blocks for **modular architecture** with [Symfony](https://symfony.com/).

Provides DDD-oriented abstractions ─ commands, queries, domain events, error handling, collections, and a convention-based module system ─ so you can focus on your domain logic instead of wiring infrastructure.

[![PHP 8.4+](https://camo.githubusercontent.com/80c4564163cef31b2a66baaeb95a5bf4a418bcb5242a5ae707b94c2f4811e742/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e342532422d626c7565)](https://www.php.net/)[![Symfony 7/8](https://camo.githubusercontent.com/e78d708a1fa7a12eeb4b68201ad51ad94cc36879f0e47c15818ab57f71c6c07e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53796d666f6e792d37253230253743253230382d626c61636b)](https://symfony.com/)

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

[](#installation)

```
composer require open-solid/core
```

The bundle is auto-registered via [Symfony Flex](https://symfony.com/doc/current/setup/flex.html).

### Modular Application Structure

[](#modular-application-structure)

Each bounded context lives in its own module with the same layered structure:

```
src/
├── Product/                                   # Module root
│   ├── Application/
│   │   └── Product/                           # Aggregate
│   │       ├── Create/                        # Use case (verb)
│   │       │   ├── CreateProduct.php          # Command
│   │       │   └── CreateProductHandler.php   # Handler
│   │       └── Find/
│   │           ├── FindProduct.php            # Query
│   │           └── FindProductHandler.php     # Handler
│   ├── Domain/
│   │   ├── Error/                             # Domain-specific errors
│   │   ├── Event/                             # Domain events
│   │   └── Model/                             # Aggregate, entities and value objects
│   │       └── Product.php
│   └── Infrastructure/
│       ├── Resources/
│       │   └── config/
│       │       ├── doctrine/
│       │       │   └── mapping/               # Doctrine ORM mappings
│       │       ├── packages/                  # Package-specific config overrides
│       │       └── services.yaml              # Service definitions
│       └── ProductExtension.php               # Module extension
│
├── Order/                                     # Another module
│   ├── Application/
│   ├── Domain/
│   └── Infrastructure/
│       └── OrderExtension.php
│
└── Kernel.php
```

Each `ModuleExtension` automatically registers services, and Doctrine mappings for its module ─ zero manual wiring.

Documentation
-------------

[](#documentation)

- **[Configuration](docs/configuration.md)** ─ Bus strategies, Doctrine ORM mapping, and API Platform resource settings.
- **[Commands &amp; Queries (CQS)](docs/commands-and-queries.md)** ─ Type-safe command-query separation with auto-discovered handlers.
- **[Domain Events](docs/domain-events.md)** ─ Raise and react to events with automatic publishing after command execution.
- **[Error Handling](docs/error-handling.md)** ─ Structured domain errors with factory methods and batch error accumulation.
- **[Collections](docs/collections.md)** ─ Domain repository abstractions built on top of Doctrine Collections.
- **[Modular Architecture](docs/modular-architecture.md)** ─ Convention-based module system with automatic service registration.

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance90

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

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

Every ~5 days

Total

10

Last Release

52d ago

### Community

Maintainers

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

---

Top Contributors

[![yceruto](https://avatars.githubusercontent.com/u/2028198?v=4)](https://github.com/yceruto "yceruto (52 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/open-solid-core/health.svg)

```
[![Health](https://phpackages.com/badges/open-solid-core/health.svg)](https://phpackages.com/packages/open-solid-core)
```

###  Alternatives

[laravel/framework

The Laravel Framework.

34.7k509.9M17.0k](/packages/laravel-framework)[pimcore/pimcore

Content &amp; Product Management Framework (CMS/PIM/E-Commerce)

3.7k3.7M389](/packages/pimcore-pimcore)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

81733.7k](/packages/flow-php-flow)[typo3/cms-core

TYPO3 CMS Core

3512.3M3.8k](/packages/typo3-cms-core)

PHPackages © 2026

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