youhey/array-values-masking

用于递归地隐藏数组值中的机密数据。

v0.1.0 2018-06-08 03:43 UTC

This package is auto-updated.

Last update: 2024-09-29 04:14:39 UTC


README

用于递归(深度)隐藏数组值中的机密数据。

安装

$ composer require youhey/array-values-masking

测试

$ composer test

# set up Docker images for php 7.2
$ docker build -t youhey/php72-array-values-masking docker/php72

# set up Docker images for php 7.1
$ docker build -t youhey/php71-array-values-masking docker/php71

# set up Docker images for php 7.0
$ docker build -t youhey/php70-array-values-masking docker/php70

# composer install
$ docker run --rm -v "$(pwd):/work" youhey/php72-array-values-masking composer install
# or docker run --rm -v "$(pwd):/work" youhey/php71-array-values-masking composer install
# or docker run --rm -v "$(pwd):/work" youhey/php70-array-values-masking composer install

# to run tests
$ docker run --rm -v "$(pwd):/work" youhey/php72-array-values-masking composer test
# or docker run --rm -v "$(pwd):/work" youhey/php71-array-values-masking composer test
# or docker run --rm -v "$(pwd):/work" youhey/php70-array-values-masking composer test