PHP code example of kant1 / php-jsonschema-resolver
1. Go to this page and download the library: Download kant1/php-jsonschema-resolver library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
kant1 / php-jsonschema-resolver example snippets
n = Kant1\JSONElement::fromFile(__DIR__.'/json/simple.json');
foreach($json['paths'] as $url=>$d){
print $url." : ";
foreach($d as $method=>$d){
print $method."\n";
}
}