Skip to content
This repository has been archived by the owner on Feb 19, 2025. It is now read-only.

Working prototype - baseline for writing exercises for attendees #1

Merged
merged 38 commits into from
Aug 18, 2022
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
0c4d3e4
Added `azjezz/psl`, `cuyz/valinor`, `lcobucci/clock` and `ramsey/uuid…
Ocramius Jul 31, 2022
f1be3b7
Configured `vimeo/psalm` to run with maximum strictness
Ocramius Jul 31, 2022
05bb32f
Configured PHPUnit to run all tests (none so far, though)
Ocramius Jul 31, 2022
bf8eddc
Configured PHPCS with `doctrine/coding-standard:^9`
Ocramius Jul 31, 2022
bff89cb
Defined core concepts of `DomainEvent`, `Aggregate` and `AggregateDom…
Ocramius Jul 31, 2022
b590ee6
SQUASHME
Ocramius Jul 31, 2022
c059c85
Added an `AggregateRepository` definition, as well as exceptions and …
Ocramius Jul 31, 2022
db45e7a
Added the concepts of `Policy` and `Command`, which allow us to creat…
Ocramius Jul 31, 2022
5a43860
Added definitions of projection and projection table
Ocramius Jul 31, 2022
26ff0c9
Implemented a working and well-tested event-sourcing component
Ocramius Aug 16, 2022
dc0feb4
Applied automated (and not) CS fixes
Ocramius Aug 16, 2022
80e6892
Added a `CHECK` constraint enforcing aggregate root fields to all be …
Ocramius Aug 16, 2022
53083ea
Don't cache test results: it's just noise
Ocramius Aug 16, 2022
d6d00e3
Run CI jobs based on `laminas/workflow-continuous-integration`
Ocramius Aug 16, 2022
a9e2266
Pinning supported PHP version to ~8.1.0
Ocramius Aug 16, 2022
f51a06c
Marking `ext-pdo` and `ext-sqlite` as requirements - `ext-pdo_sqlite`…
Ocramius Aug 16, 2022
ee0ae11
Attempting manual install of `php-sqlite3`
Ocramius Aug 16, 2022
227485f
Removed schema reference: unsupported.
Ocramius Aug 16, 2022
fc485fc
Ugly, but need to drop `ext-pdo_sqlite` from `composer.json` for comp…
Ocramius Aug 16, 2022
c8814b4
Added `ext-bcmath` to dependencies
Ocramius Aug 16, 2022
cf76275
Added `Dockerfile`, switched CI to use `docker build` for tests
Ocramius Aug 16, 2022
44c6013
Removed GHCR login step: we're not logging into the github container …
Ocramius Aug 16, 2022
76c959f
Renamed step, corrected `cache-to` missing `ref`
Ocramius Aug 16, 2022
53699d7
Removed `cache-to` from build: can't work without authentication
Ocramius Aug 16, 2022
3db9cfe
Use github actions cache by default, to speed up builds
Ocramius Aug 16, 2022
f6ffc40
Removed `docker-compose.ci.yml` override: handled without an override…
Ocramius Aug 16, 2022
ad70dc2
Make sure the docker image is loaded in the docker daemon after build
Ocramius Aug 16, 2022
e66c448
Added a `Makefile` to ease startup of the project
Ocramius Aug 17, 2022
a94a3fb
Added a basic `README.md` with some placeholders for architecture doc…
Ocramius Aug 17, 2022
4fbc6bd
Endorse running QA tests during the first startup
Ocramius Aug 18, 2022
6a56e5a
Written an introduction to event-sourcing concepts and architecture
Ocramius Aug 18, 2022
b47fa6c
Documented `Commanding` layer
Ocramius Aug 18, 2022
ba4b60f
Added tracking of hexagonal layers and components
Ocramius Aug 18, 2022
014148f
Applied `readonly` where possible, removed unused API
Ocramius Aug 18, 2022
b1566eb
Added mutation testing run, added `git` dependency to support that
Ocramius Aug 18, 2022
dd379ec
Removed coupling between `AggregateId` and UUID
Ocramius Aug 18, 2022
98b3a59
Noting how `ProjectionTable` is not an event-sourcing concept, but a …
Ocramius Aug 18, 2022
eab084b
Removed redundant `your` in text, as discovered by @romm
Ocramius Aug 18, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 21 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,31 @@
"EventSourcingWorkshop\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"EventSourcingWorkshopTest\\": "test"
}
},
"require": {
"php": "^8.1.8",
"azjezz/psl": "^2.0.3",
"cuyz/valinor": "^0.12.0",
"doctrine/dbal": "^3.3.7",
"cuyz/valinor": "^0.12.0"
"lcobucci/clock": "^2.2",
"ramsey/uuid": "^4.3.1"
},
"require-dev": {
"doctrine/coding-standard": "^9.0.0",
"doctrine/migrations": "^3.5",
"phpunit/phpunit": "^9.5.21",
"vimeo/psalm": "^4.24.0",
"qossmic/deptrac-shim": "^0.23.0"
"psalm/plugin-phpunit": "^0.17.0",
"qossmic/deptrac-shim": "^0.23.0",
"vimeo/psalm": "^4.24.0"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"dealerdirect/phpcodesniffer-composer-installer": true
}
}
}
}
Loading