Skip to content

gitstream/nginx-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Nginx parser

require __DIR__ . "/vendor/autoload.php";

use gitstream\parser\nginx\Parser;

$conf   = __DIR__ . '/tests/fixtures/nginx/nginx.conf';

$parser = new Parser();

print_r($parser->load($conf));

Tests

phpunit --configuration ./phpunit.xml