arnedesmedt / api-platform-event-engine-bundle
A library that creates a bridge between API Platform and Event Engine.
Installs: 5 316
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 4
Forks: 6
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^8.1 || ^8.2 || ^8.3
- ext-json: *
- api-platform/core: ~3.0
- arnedesmedt/event-engine-symfony-bundle: ^0.7.15
- chrisguitarguy/request-id-bundle: ~6.0
- team-blue/php-json-immutable-objects: ^0.5.6
- team-blue/php-util: ^0.4.4
- team-blue/php-value-objects: ^0.5.5
Requires (Dev)
- benjaminfavre/oauth2-http-client: ~3.0
- doctrine/coding-standard: ~11.0
- icanhazstring/composer-unused: ^0.8.11
- jetbrains/phpstorm-attributes: ~1.0
- phpro/grumphp: ~2.0
- phpstan/phpstan: ~1.0
- rector/rector: ~0.1
- roave/security-advisories: dev-master
- squizlabs/php_codesniffer: ~3.0
- team-blue/java-openapi-codegen-php-client: ^1.7
- zenstruck/messenger-test: ~1.0
- dev-main
- 3.0.0.x-dev
- 0.7.10
- 0.7.9
- 0.7.8
- 0.7.7
- 0.7.6
- 0.7.5
- 0.7.4
- 0.7.3
- 0.7.2
- 0.7.1
- 0.7.0
- 0.6.51
- 0.6.50
- 0.6.49
- 0.6.48
- 0.6.47
- 0.6.46
- 0.6.45
- 0.6.44
- 0.6.43
- 0.6.42
- 0.6.41
- 0.6.40
- 0.6.39
- 0.6.38
- 0.6.37
- 0.6.36
- 0.6.35
- 0.6.34
- 0.6.33
- 0.6.32
- 0.6.31
- 0.6.30
- 0.6.29
- 0.6.28
- 0.6.27
- 0.6.26
- 0.6.25
- 0.6.24
- 0.6.23
- 0.6.22
- 0.6.21
- 0.6.20
- 0.6.19
- 0.6.18
- 0.6.17
- 0.6.16
- 0.6.15
- 0.6.14
- 0.6.13
- 0.6.12
- 0.6.11
- 0.6.10
- 0.6.9
- 0.6.8
- 0.6.7
- 0.6.6
- 0.6.5
- 0.6.4
- 0.6.3
- 0.6.2
- 0.6.1
-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 0.2.56
- 0.2.55
- 0.2.54
- 0.2.53
- 0.2.52
- 0.2.51
- 0.2.50
- 0.2.49
- 0.2.48
- 0.2.47
- 0.2.46
- 0.2.45
- 0.2.44
- 0.2.43
- 0.2.42
- 0.2.41
- 0.2.40
- 0.2.39
- 0.2.38
- 0.2.37
- 0.2.36
- 0.2.35
- 0.2.34
- 0.2.33
- 0.2.32
- 0.2.31
- 0.2.30
- 0.2.29
- 0.2.28
- 0.2.27
- 0.2.26
- 0.2.25
- 0.2.24
- 0.2.23
- 0.2.22
- 0.2.21
- 0.2.20
- 0.2.19
- 0.2.18
- 0.2.17
- 0.2.16
- 0.2.15
- 0.2.14
- 0.2.13
- 0.2.12
- 0.2.11
- 0.2.10
- 0.2.9
- 0.2.8
- 0.2.7
- 0.2.6
- 0.2.5
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2
- 0.1.80
- 0.1.79
- 0.1.78
- 0.1.77
- 0.1.76
- 0.1.75
- 0.1.74
- 0.1.73
- 0.1.72
- 0.1.71
- 0.1.70
- 0.1.69
- 0.1.68
- 0.1.67
- 0.1.66
- 0.1.65
- 0.1.64
- 0.1.63
- 0.1.62
- 0.1.61
- 0.1.60
- 0.1.59
- 0.1.58
- 0.1.57
- 0.1.56
- 0.1.55
- 0.1.54
- 0.1.53
- 0.1.52
- 0.1.51
- 0.1.50
- 0.1.49
- 0.1.48
- 0.1.47
- 0.1.46
- 0.1.45
- 0.1.44
- 0.1.43
- 0.1.42
- 0.1.41
- 0.1.40
- 0.1.39
- 0.1.38
- 0.1.37
- 0.1.36
- 0.1.35
- 0.1.34
- 0.1.33
- 0.1.32
- 0.1.31
- 0.1.30
- 0.1.29
- 0.1.28
- 0.1.27
- 0.1.26
- 0.1.25
- 0.1.24
- 0.1.23
- 0.1.22
- 0.1.21
- 0.1.20
- 0.1.19
- 0.1.18
- 0.1.17
- 0.1.16
- 0.1.15
- 0.1.14
- 0.1.13
- 0.1.12
- 0.1.11
- 0.1.10
- 0.1.9
- 0.1.8
- 0.1.7
- 0.1.6
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- dev-feature/normalize-value-of-discriminator
- dev-allow-event-engine-0.7.0
- dev-feature/use-attributes
- dev-feature/start-adding-tests
- dev-addCacheHeader
This package is auto-updated.
Last update: 2024-11-15 10:23:45 UTC
README
A library that creates a bridge between API Platform and Event Engine.
The configuration is not that generic. So feel free to fork this repository and make it generic or change things for your own needs.
Setup aggregates
- Aggregate needs to implement the AggregateRoot interface
- State needs to implement the ChangeApiResource (ChangeApiResourceByNamespace trait can be used), JsonSchemaAwareRecord (JsonSchemaAwareRecordLogic trait can be used).
Setup messages
- Command needs to implement JsonSchemaAwareRecord (JsonSchemaAwareRecordLogic trait can be used), AggregateCommand (CommandNameAsAggregateMethod trait can be used).
Map api platform calls with event engine commands or queries
Based on:
- Entity
- Operation type
- Operation name