Examples¶
Library examples¶
In this repository you can find three example
Of course, you will also find many ideas in the tests.
Whole sensitization example¶
make build-php ARG="--no-cache"
make upd
make composer ARG="install"
make enter
php example/WholeStrategy/example.php | jq
Partial sensitization example¶
make build-php ARG="--no-cache"
make upd
make composer ARG="install"
make enter
php example/PartialStrategy/example.php | jq
Custom sensitization example¶
make build-php ARG="--no-cache"
make upd
make composer ARG="install"
make enter
php example/CustomStrategy/example.php | jq
Demo project¶
For a complete and working demo you can check out at this Symfony 6 project: broadway-sensitive-serializer-demo. It is divided into three branches: