mimmi20 / json-class
Class wrapper for daverandom/exceptional-json
Installs: 188 146
Dependents: 3
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- php: ^7.4.3 || ^8.0.0
- ext-json: *
Requires (Dev)
- mimmi20/coding-standard: ^2.6.2
- phpstan/extension-installer: ^1.1.0
- phpstan/phpstan: ^1.4.2
- phpstan/phpstan-deprecation-rules: ^1.0.0
- phpstan/phpstan-phpunit: ^1.0.0
- phpunit/phpunit: ^9.5.12
README
This class add a class wrapper around daverandom/exceptional-json to make mocking easier.
Code Status
Requirements
This library requires PHP 7.4+.
Installation
Run the command below to install via Composer
composer require mimmi20/json-class
Usage
$json = new \JsonClass\Json(); $decoded = $json->decode();
See also daverandom/exceptional-json's documentation
Issues and feature requests
Please report your issues and ask for new features on the GitHub Issue Tracker at https://github.com/mimmi20/json-class/issues