Download the PHP package solidframe/modular without Composer
On this page you can find all versions of the php package solidframe/modular. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download solidframe/modular
More information about solidframe/modular
Files in solidframe/modular
Package modular
Short Description Modular monolith building blocks: module contracts, integration events, ACL, registry for SolidFrame
License MIT
Informations about the package modular
SolidFrame Modular
Modular monolith building blocks: module contracts, integration events, Anti-Corruption Layer, and module registry.
Build isolated modules that communicate through contracts, not concrete dependencies.
Installation
Quick Start
Define a Module
Register Modules
Circular dependencies are detected automatically:
Module Contracts
Define what a module exposes to others via ModuleContractInterface:
Other modules depend on the contract, never on the implementation:
Integration Events
Modules communicate asynchronously via integration events:
Anti-Corruption Layer
Translate between module boundaries with TranslatorInterface:
API Reference
| Class / Interface | Purpose |
|---|---|
ModuleInterface |
Contract for module definition |
AbstractModule |
Base module with name and dependencies |
ModuleRegistryInterface |
Module registration and lookup |
InMemoryModuleRegistry |
In-memory registry with topological sort |
ModuleContractInterface |
Marker for module public APIs |
IntegrationEventInterface |
Cross-module event contract |
AbstractIntegrationEvent |
Base integration event |
TranslatorInterface |
Anti-Corruption Layer translator |
ModuleNotFoundException |
Module not found in registry |
CircularDependencyException |
Circular module dependency detected |
Related Packages
- solidframe/core — DomainEventInterface, Bus interfaces
- solidframe/event-driven — EventBus for integration events
- solidframe/cqrs — Command/Query handling within modules
- solidframe/archtest — Enforce module isolation rules
- solidframe/laravel — ModuleServiceProvider, auto-discovery,
make:module,solidframe:module:list - solidframe/symfony — Module discovery,
make:module,solidframe:module:list
Contributing
This repository is a read-only split of the solidframe/solidframe monorepo, auto-synced on every push to main. Issues, pull requests, and discussions belong in the monorepo.