PHP code example of atoum / apiblueprint-extension

1. Go to this page and download the library: Download atoum/apiblueprint-extension 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/ */

    

atoum / apiblueprint-extension example snippets


$extension = new atoum\apiblueprint\extension($script);
$extension->addToRunner($runner);


$extension->getAPIBFinder()->append(new FilesystemIterator('./apiblueprints'));
$extension->compileAndEnqueue();

     $extension->getConfiguration()->mountJsonSchemaDirectory('test', '/path/to/schemas/');