matiux/broadway-sensitive-serializer-dbal

Broadway sensitive serializer implementation using doctrine/dbal

v1.0.0 2022-09-19 22:37 UTC

This package is auto-updated.

Last update: 2024-12-20 03:28:22 UTC


README

check dependencies test codecov type coverage psalm level security analysis status coding standards status

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"