diff options
author | Mario <mario@mariovavti.com> | 2024-03-14 11:15:20 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-03-14 11:15:20 +0000 |
commit | 70dfce356b949dce00dba534536be994b1d7761d (patch) | |
tree | f398624848854cbbd5ef738bec79f1ed2c28635a /vendor/mmccook/php-json-canonicalization-scheme/README.md | |
parent | 10fbfa06e9eb51485fecbf81d590cd15b7a5a2c2 (diff) | |
download | volse-hubzilla-70dfce356b949dce00dba534536be994b1d7761d.tar.gz volse-hubzilla-70dfce356b949dce00dba534536be994b1d7761d.tar.bz2 volse-hubzilla-70dfce356b949dce00dba534536be994b1d7761d.zip |
next try to use the streams php-jcs library until the floats issue will be fixed upstream. see here for reference https://codeberg.org/streams/streams/issues/151
Diffstat (limited to 'vendor/mmccook/php-json-canonicalization-scheme/README.md')
-rw-r--r-- | vendor/mmccook/php-json-canonicalization-scheme/README.md | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/vendor/mmccook/php-json-canonicalization-scheme/README.md b/vendor/mmccook/php-json-canonicalization-scheme/README.md deleted file mode 100644 index 780c431b3..000000000 --- a/vendor/mmccook/php-json-canonicalization-scheme/README.md +++ /dev/null @@ -1,43 +0,0 @@ -# JSON Canonicalization for PHP 8.1+ - -[![Latest Version on Packagist](https://img.shields.io/packagist/v/mmccook/php-json-canonicalization-scheme.svg?style=flat-square)](https://packagist.org/packages/mmccook/php-json-canonicalization-scheme) -[![Tests](https://img.shields.io/github/actions/workflow/status/mmccook/php-json-canonicalization-scheme/run-tests.yml?branch=main&label=tests&style=flat-square)](https://github.com/mmccook/php-json-canonicalization-scheme/actions/workflows/run-tests.yml) -[![Total Downloads](https://img.shields.io/packagist/dt/mmccook/php-json-canonicalization-scheme.svg?style=flat-square)](https://packagist.org/packages/mmccook/php-json-canonicalization-scheme) - -Needed a way to canonicalize JSON to validate webhooks from [The Campaign Registry](https://csp-api.campaignregistry.com/v2/restAPI) -couldn't find an actively maintained package that all passed the JCS tests, so I used the one listed on the JCS Github and updated/refactored it. - -## Installation - -You can install the package via composer: - -```bash -composer require mmccook/php-json-canonicalization-scheme -``` - -## Usage - -```php -$canonicalization = JsonCanonicalizatorFactory::getInstance(); -$canonicalizedJsonString = $canonicalization->canonicalize($input); -``` - -## Testing - -```bash -composer test -``` - -## Changelog - -Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently. - -## Contributing - -Please see [CONTRIBUTING](https://github.com/spatie/.github/blob/main/CONTRIBUTING.md) for details. - -## Credits -- [Mark M. McCook](https://github.com/mmccook) - -## License -The MIT License (MIT). Please see [License File](LICENSE.md) for more information. |