/php-nginx-status-parser

PHP Parser for Nginx Status Page

Primary LanguagePHPMIT LicenseMIT

PHP Nginx Status Parser

Build Status Code Climate Test Coverage

Installation

via Composer:

composer require svenkuegler/php-nginx-status-parser

Usage

Quick Start

require 'vendor/autoload.php';

$p = new NginxStatusParser("http://127.0.0.1/nginx_status");
$nginxStatus = $p->parse();

var_dump($nginxStatus);

Exception handling

...

Running Tests

$ phpunit

Contributing

Feel free to send pull requests or create issues if you come across problems or have great ideas. Any input is appreciated!

License

This code is published under the The MIT License. This means you can do almost anything with it, as long as the copyright notice and the accompanying license file is left intact.