Download the PHP package solidframe/laravel without Composer
On this page you can find all versions of the php package solidframe/laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download solidframe/laravel
More information about solidframe/laravel
Files in solidframe/laravel
Package laravel
Short Description Laravel bridge for SolidFrame architectural packages
License MIT
Informations about the package laravel
SolidFrame Laravel
Laravel bridge for SolidFrame architectural packages.
Auto-discovery, DI bindings, Artisan generators, database stores, and modular monolith support — all wired into Laravel.
Installation
The service provider is auto-registered via Laravel's package discovery.
Features at a Glance
| Feature | What You Get |
|---|---|
| CQRS | CommandBus, QueryBus, handler auto-discovery, middleware |
| Event-Driven | EventBus, listener auto-discovery, multi-listener |
| Event Sourcing | Database EventStore, SnapshotStore, migrations |
| Saga | Database SagaStore, solidframe:saga:status |
| Modular | Module auto-discovery, ModuleServiceProvider, routes/migrations/config |
| Generators | 10 make:* commands for DDD, CQRS, events, sagas, modules |
Handler Auto-Discovery
SolidFrame automatically discovers your command handlers, query handlers, and event listeners by scanning your app/ directory.
Discovery works by scanning for classes that implement CommandHandler, QueryHandler, or EventListener marker interfaces and reading the __invoke() type hint.
Configuration
Publish the config file:
Artisan Commands
Generators
All generators support subdirectories: php artisan make:entity Order/OrderItem
Operational
Database Migrations
Publish migrations for event sourcing and saga stores:
Three tables are created:
event_store— domain events with optimistic concurrency controlsnapshots— aggregate snapshotssagas— saga state with associations
Modular Monolith
Create a Module
This creates:
Module Service Provider
ModuleServiceProvider automatically loads:
routes.phpfrom the module directory- Migrations from
Database/Migrations/ config.phpmerged intomodules.{name}
Auto-Discovery
When solidframe.modular.auto_discovery is true, modules are discovered and booted automatically. List them with:
Middleware
Add middleware to buses via config:
Middleware classes are resolved from the container with full dependency injection.
DI Bindings
The service provider registers these as singletons:
| Interface | Implementation |
|---|---|
CommandBusInterface |
CommandBus with discovered handlers |
QueryBusInterface |
QueryBus with discovered handlers |
EventBusInterface |
EventBus with discovered listeners |
EventStoreInterface |
DatabaseEventStore or InMemoryEventStore |
SnapshotStoreInterface |
DatabaseSnapshotStore or InMemorySnapshotStore |
SagaStoreInterface |
DatabaseSagaStore or InMemorySagaStore |
ModuleRegistryInterface |
InMemoryModuleRegistry |
Store driver falls back to in-memory when the configured package is not installed.
Requirements
- PHP 8.2+
- Laravel 10, 11, or 12
Optional packages (installed as needed):
solidframe/ddd— formake:entity,make:value-object,make:aggregate-rootsolidframe/cqrs— for CommandBus, QueryBus, handler discoverysolidframe/event-driven— for EventBus, listener discoverysolidframe/event-sourcing— for EventStore, SnapshotStoresolidframe/modular— for module supportsolidframe/saga— for SagaStore
Related Packages
- solidframe/core — Bus interfaces, Middleware
- solidframe/ddd — Entity, ValueObject, AggregateRoot
- solidframe/cqrs — CommandBus, QueryBus
- solidframe/event-driven — EventBus, Listeners
- solidframe/event-sourcing — EventStore, Snapshots
- solidframe/modular — Module contracts
- solidframe/saga — Saga lifecycle
- solidframe/symfony — Symfony alternative
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.
All versions of laravel with dependencies
solidframe/core Version ^0.1
illuminate/console Version ^10.0 || ^11.0 || ^12.0 || ^13.0
illuminate/contracts Version ^10.0 || ^11.0 || ^12.0 || ^13.0
illuminate/support Version ^10.0 || ^11.0 || ^12.0 || ^13.0