svenkuegler / php-nginx-status-parser
PHP Parser for Nginx Status Page
dev-master
2016-07-27 12:32 UTC
Requires
- php: >=5.3.0
Requires (Dev)
- codeclimate/php-test-reporter: dev-master
- phpunit/phpunit: ^5.4
This package is not auto-updated.
Last update: 2025-06-11 22:43:38 UTC
README
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.