Skip to content

matiux/broadway-sensitive-serializer-demo

Repository files navigation

Broadway Sensitive Serializer Demo

check dependencies type coverage psalm level security analysis status coding standards status PHP Version Support

Symfony example of how to use the matiux/broadway-sensitive-serializer library in a CQRS + ES project made with broadway/broadway in order to make the system compliant with the GDPR law.

You can switch between three branch:

Setup for development

git clone https://github.com/matiux/broadway-sensitive-serializer-demo.git && cd sensitive-serializer-demo
cp docker/docker-compose.override.dist.yml docker/docker-compose.override.yml
rm -rf .git/hooks && ln -s ../scripts/git-hooks .git/hooks
make build-php ARG="--no-cache"
make upd
make project ARG="setup"

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

Run application

make build-php ARG="--no-cache"
make upd
make enter

Create User

php bin/console sense:user:register <<name>> <<surname>> <<email>> | jq

Add address to User

php bin/console sense:user:add-address <<user-id>> "<<address>>"

Show user list

php bin/console sense:user:show-list | jq

Forget user

php bin/console sense:user:forget <<user-id>>

Replay user events

php bin/console sense:user:replay <<user-id>>

Documentation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published