{"id":37232486,"url":"https://github.com/busfactor/busfactor","last_synced_at":"2026-01-15T03:49:22.689Z","repository":{"id":41243357,"uuid":"198214154","full_name":"busfactor/busfactor","owner":"busfactor","description":"[No longer maintained --\u003e see https://github.com/backslashphp/backslash]  CQRS and Event Sourcing infrastructure for modern PHP","archived":false,"fork":false,"pushed_at":"2022-10-20T01:54:47.000Z","size":101,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-26T10:51:54.802Z","etag":null,"topics":["aggregate","command","command-bus","cqrs","domain-driven-design","event","event-bus","event-sourcing","event-store","event-stream","php","projection"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/busfactor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-22T11:56:15.000Z","updated_at":"2024-10-09T00:14:32.000Z","dependencies_parsed_at":"2022-08-31T14:01:25.943Z","dependency_job_id":null,"html_url":"https://github.com/busfactor/busfactor","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/busfactor/busfactor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/busfactor%2Fbusfactor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/busfactor%2Fbusfactor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/busfactor%2Fbusfactor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/busfactor%2Fbusfactor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/busfactor","download_url":"https://codeload.github.com/busfactor/busfactor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/busfactor%2Fbusfactor/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28419242,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aggregate","command","command-bus","cqrs","domain-driven-design","event","event-bus","event-sourcing","event-store","event-stream","php","projection"],"created_at":"2026-01-15T03:49:22.071Z","updated_at":"2026-01-15T03:49:22.676Z","avatar_url":"https://github.com/busfactor.png","language":"PHP","readme":"# BusFactor\n\n[![Latest Version](https://img.shields.io/github/release/busfactor/busfactor.svg)](https://github.com/busfactor/busfactor/releases)\n[![Software License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n\nBusFactor is a modern PHP library providing several components you can mix and match to implement the CQRS and Event Sourcing patterns in your application.\n\n## Install\n\nUsing [Composer](https://getcomposer.org/):\n\n```\n$ composer require busfactor/busfactor\n```\n\n## Requirements\n\n- PHP \u003e=7.3 with `json` and `pdo` extensions enabled.\n\n## Components\n\n| Component | Description |\n| --- | --- |\n| `Aggregate` | Interfaces and traits for plain DDD aggregates and domain events. | \n| `AggregateStore` | Persistence for aggregates. | \n| `CacheProjectionStoreMiddleware` | Caching middleware for `ProjectionStore`. | \n| `CommandBus` | Implementation of the Command Bus pattern. | \n| `EventBus` | Implementation of the Publish-Subscribe pattern for event streams. | \n| `EventSourcedAggregate` | Interface and trait for event-sourced aggregates. | \n| `EventSourcedAggregateStore` | `AggregateStore` adapter for event-sourced aggregates persistence. | \n| `EventStore` | Persistence for event streams. | \n| `EventStoreReductionInspection` | Output single value from `EventStore` inspection. | \n| `EventStream` | Event streams for event-sourced aggregates. | \n| `LaravelCacheProjectionStore` | Laravel Cache adapter for `ProjectionStore`. | \n| `MemcachedProjectionStore` | Memcached adapter for `ProjectionStore`. | \n| `ObjectSerializer` | Interface for object serialization. | \n| `Pdo` | Decorating interface for PHP Data Objects (PDO). | \n| `PdoAggregateStore` | PDO adapter for `AggregateStore`. | \n| `PdoEventStore` | PDO adapter for `EventStore`. | \n| `PdoProjectionStore` | PDO adapter for `ProjectionStore`. | \n| `PdoProxy` | Lazy-connecting PDO proxy. | \n| `Problem` | Interface for Problem Details aware exceptions. | \n| `Projection` | Interface for projections. | \n| `ProjectionStore` | Persistence for projections. | \n| `ReflectionObjectSerializer` | Reflection-based adapter for `ObjectSerializer`. | \n| `Scenario` | Testing infrastructure on top of PHPUnit. | \n| `SnapshotAggregateStoreMiddleware` | `AggregateStore` middleware for event-sourced aggregate snapshots. | \n| `StreamEnricher` | Interface for event stream enrichers. | \n| `StreamEnricherEventBusMiddleware` | `EventBus` middleware for event stream enrichment with `StreamEnricher`. | \n| `StreamEnricherEventStoreMiddleware` | `EventStore` middleware for event stream enrichment with StreamEnricher`. | \n| `StreamPublishingInspection` | Publish event streams from `EventStore` inspection. | \n| `Uuid` | Universally Unique IDentifier (UUID) generation. | \n\n## Testing\n\n```bash\n$ vendor/bin/phpunit\n```\n\n## Credits\n\n- [Maxime Gosselin](https://github.com/maximegosselin)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbusfactor%2Fbusfactor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbusfactor%2Fbusfactor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbusfactor%2Fbusfactor/lists"}