Skip to content
A JSON mapping library that does one thing, and does it okay.
PHP Shell Dockerfile
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci Add PHPStan to the CI process Apr 28, 2019
benchmark Benchmark handwritten alternative to StrictJson to compare performance Apr 21, 2019
scripts Require 100 mutation coverage Jul 2, 2019
src Simplify handling exceptions from adapters Jul 20, 2019
test Allow base type adapters Jul 12, 2019
.gitignore Move user docs into their own directory Apr 13, 2019
Dockerfile Use the default development php settings Jul 2, 2019
LICENSE Create LICENSE Jun 2, 2019 Add a coverage badge Apr 14, 2019
composer.json Set exact php platform version Jul 8, 2019
composer.lock Bump infection/infection from 0.13.3 to 0.13.4 Jul 2, 2019
couscous.yml Add install instructions May 24, 2019
infection.json.dist Require 100 mutation coverage Jul 2, 2019
phpbench.json.dist Add a script to run benchmarks Apr 20, 2019
phpstan.neon.dist Add PHPStan to the CI process Apr 28, 2019



StrictJson converts JSON into your plain old PHP classes

View the user documentation at


Working locally requires Docker or PHP 7.2 to be installed. The rest of these steps will assume you're using docker. If you're not using docker, just run the commands without the scripts/ prefix (And skip building the image, obviously).


Run scripts/ to build the docker image

Install dependencies

Run scripts/ composer install to install all the required dependencies

Validate Code

Run scripts/ scripts/ to check code style and run unit and mutation tests

Automatically fix code style

Run scripts/ vendor/bin/php-cs-fixer fix .

Preview docs

Run scripts/ vendor/bin/couscous preview Go to localhost:8000 to preview your documentation changes

You can’t perform that action at this time.