Skip to content

Commit ff7ed70

Browse files
feat: new 2.x branch
1 parent 7c77514 commit ff7ed70

File tree

153 files changed

+2406
-2597
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

153 files changed

+2406
-2597
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
1-
# Backslash
1+
# Backslash 2.x
22

33
[![Latest Version](https://img.shields.io/github/release/backslashphp/backslash.svg)](https://github.com/backslashphp/backslash/releases)
44
[![Composer](https://img.shields.io/badge/composer-backslashphp/backslash-lightgray)](https://packagist.org/packages/backslashphp/backslash)
55
![PHP](https://img.shields.io/packagist/php-v/backslashphp/backslash)
66
[![Software License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
77

8-
Modern and opinionated PHP library designed to facilitate the integration of DDD, CQRS, and Event Sourcing patterns in
8+
Modern and opinionated PHP library designed to facilitate the integration of CQRS and Event Sourcing patterns in
99
your application.
1010

11-
**Domain-centric** — Implement complex domain logic using aggregates and events.
11+
**Domain-centric** — Implement complex business logic using domain events.
1212

1313
**Event-driven** — Efficiently compute query models and initiate actions based on domain events.
1414

@@ -31,7 +31,7 @@ A [demo application](https://github.com/backslashphp/demo) is also available for
3131
Add Backslash to your project with [Composer](https://getcomposer.org/):
3232

3333
```bash
34-
composer require backslashphp/backslash
34+
composer require backslashphp/backslash:^2
3535
```
3636

3737
## Requirements

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"require": {
1414
"php": "^8.1",
1515
"ext-json": "*",
16-
"ext-pdo": "*"
16+
"ext-pdo": "*",
17+
"psr/clock": "*"
1718
},
1819
"require-dev": {
1920
"ext-pdo_sqlite": "*",

src/Aggregate/AggregateFactory.php

Lines changed: 0 additions & 38 deletions
This file was deleted.

src/Aggregate/AggregateInterface.php

Lines changed: 0 additions & 41 deletions
This file was deleted.

src/Aggregate/AggregateRootTrait.php

Lines changed: 0 additions & 67 deletions
This file was deleted.

src/Aggregate/Stream.php

Lines changed: 0 additions & 55 deletions
This file was deleted.

src/AggregateStore/AdapterInterface.php

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/AggregateStore/AggregateNotFoundException.php

Lines changed: 0 additions & 16 deletions
This file was deleted.

src/AggregateStore/AggregateStore.php

Lines changed: 0 additions & 78 deletions
This file was deleted.

src/AggregateStore/AggregateStoreInterface.php

Lines changed: 0 additions & 21 deletions
This file was deleted.

0 commit comments

Comments
 (0)