This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.
Via Composer
$ composer require hskrasek/phpunit-jsonschema-assertions
<?php
use HSkrasek\JsonSchema\SchemaAssertions;
use PHPUnit\Framework\TestCase;
class JsonTest extends TestCase
{
use SchemaAssertions;
public function setUp()
{
parent::setUp();
$this->setupSchemaAssertions();
}
public function assertMyJsonApiMatchesSchema()
{
$this->assertJsonMatchesSchema($json, $pathToSchema);
}
}
Please see CHANGELOG for more information on what has changed recently.
$ composer test
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please email hunterskrasek@me.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.