Skip to content

Commit f03f248

Browse files
authored
Merge pull request #4 from Globy-App/update-readme-and-publish-package
Globy package information added
2 parents 9026374 + aadd8e9 commit f03f248

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Hash Sensitive [![CI](https://github.com/Sjustein/hash-sensitive/actions/workflows/ci.yml/badge.svg)](https://github.com/Sjustein/hash-sensitive/actions/workflows/ci.yml)
1+
# Hash Sensitive [![CI](https://github.com/Globy-App/hash-sensitive/actions/workflows/ci.yml/badge.svg)](https://github.com/Globy-App/hash-sensitive/actions/workflows/ci.yml)
22

33
🙈 A Monolog processor that protects sensitive data from miss logging. Forked from: [redact-sensitive](https://github.com/leocavalcante/redact-sensitive) by [Leo Cavalcante](https://github.com/leocavalcante).
44
When redacting values from logs, it might be useful to be able to compare redacted values that are equal.
@@ -10,7 +10,7 @@ Readme.INFO: Hello, World! {"api_key":"3f6b5eb5b4bc422fc119c76caccd8792d1cf253a7
1010

1111
## Install
1212
```shell
13-
composer require sjustein/hash-sensitive
13+
composer require globyapp/hash-sensitive
1414
```
1515

1616
## Usage
@@ -28,7 +28,7 @@ Will hash the value of the `api_key`.
2828
You can now create a new Processor with the given keys:
2929

3030
```php
31-
use HashSensitive\HashSensitiveProcessor;
31+
use GlobyApp\HashSensitive\HashSensitiveProcessor;
3232

3333
$sensitive_keys = ['api_key'];
3434

@@ -38,7 +38,7 @@ $processor = new HashSensitiveProcessor($sensitive_keys);
3838
### 3. Set the Processor to a Monolog\Logger
3939

4040
```php
41-
use HashSensitive\HashSensitiveProcessor;
41+
use GlobyApp\HashSensitive\HashSensitiveProcessor;
4242

4343
$sensitive_keys = ['api_key'];
4444

@@ -52,7 +52,7 @@ $logger->pushProcessor($processor);
5252

5353
```php
5454
use Monolog\Handler\StreamHandler;
55-
use HashSensitive\HashSensitiveProcessor;
55+
use GlobyApp\HashSensitive\HashSensitiveProcessor;
5656

5757
$sensitive_keys = ['api_key'];
5858

@@ -78,7 +78,7 @@ Use `algorithm` to specify the algorithm used for hashing the value. Refer to [t
7878

7979
```php
8080
use Monolog\Handler\StreamHandler;
81-
use HashSensitive\HashSensitiveProcessor;
81+
use GlobyApp\HashSensitive\HashSensitiveProcessor;
8282

8383
$sensitive_keys = ['access_token'];
8484

@@ -105,7 +105,7 @@ When set to false, every key in the input data is checked against every key in s
105105

106106
```php
107107
use Monolog\Handler\StreamHandler;
108-
use HashSensitive\HashSensitiveProcessor;
108+
use GlobyApp\HashSensitive\HashSensitiveProcessor;
109109

110110
$sensitive_keys = [
111111
'test',

0 commit comments

Comments
 (0)