matiux / broadway-sensitive-serializer-dbal
Broadway sensitive serializer implementation using doctrine/dbal
v1.0.0
2022-09-19 22:37 UTC
Requires
- php: ^7.4|^8
- doctrine/dbal: ^3.2
- matiux/broadway-sensitive-serializer: ^0.3
- symfony/polyfill-php81: ^1.23
Requires (Dev)
- ext-pdo_mysql: *
- ext-pdo_sqlite: *
- broadway/broadway: ^2.4
- friendsofphp/php-cs-fixer: ^3.3
- matiux/php-project-autopilot: dev-master
- mockery/mockery: ^1.4
- phpunit/phpunit: ^9.5
- psalm/plugin-mockery: ^0.9.1
- psalm/plugin-phpunit: ^0.16.1
- roave/security-advisories: dev-latest
- symfony/var-dumper: ^5.4|^6.0
- vimeo/psalm: ^4.13
- weirdan/doctrine-psalm-plugin: ^2.0
Suggests
- broadway/event-store-dbal: Event store implementation using doctrine/dbal
README
Broadway sensitive serializer dbal implementation using doctrine/dbal.
Read the wiki for more information.
Setup for development
git clone https://github.com/matiux/broadway-sensitive-serializer-dbal.git && cd broadway-sensitive-serializer-dbal cp docker/docker-compose.override.dist.yml docker/docker-compose.override.yml rm -rf .git/hooks && ln -s ../scripts/git-hooks .git/hooks
Install dependencies to run test
make upd
make composer ARG="install"
Run test
make build-php ARG="--no-cache"
make upd
make phpunit
This repository uses GitHub actions to perform some checks. If you want to test the actions locally you can use act. For example if you want to check the action for static analysis
act -P ubuntu-latest=shivammathur/node:latest --job static-analysis
Symfony container registration
services: broadway_sensitive_serializer.aggregate_keys.dbal: class: Matiux\Broadway\SensitiveSerializer\Dbal\DBALAggregateKeys arguments: $connection: "@doctrine.dbal.default_connection" $tableName: "aggregate_keys" $useBinary: false $binaryUuidConverter: "@broadway.uuid.converter"