https://github.com/svenkuegler/php-nginx-status-parser
PHP Parser for Nginx Status Page
https://github.com/svenkuegler/php-nginx-status-parser
nginx parser php statuspage
Last synced: about 1 month ago
JSON representation
PHP Parser for Nginx Status Page
- Host: GitHub
- URL: https://github.com/svenkuegler/php-nginx-status-parser
- Owner: svenkuegler
- License: mit
- Created: 2016-07-25T11:26:32.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-27T12:33:04.000Z (almost 10 years ago)
- Last Synced: 2025-07-21T22:46:29.596Z (11 months ago)
- Topics: nginx, parser, php, statuspage
- Language: PHP
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
PHP Nginx Status Parser
===
[](https://travis-ci.org/svenkuegler/php-nginx-status-parser)
[](https://codeclimate.com/github/svenkuegler/php-nginx-status-parser)
[](https://codeclimate.com/github/svenkuegler/php-nginx-status-parser/coverage)
## Installation
via Composer:
```bash
composer require svenkuegler/php-nginx-status-parser
```
## Usage
### Quick Start
```php
require 'vendor/autoload.php';
$p = new NginxStatusParser("http://127.0.0.1/nginx_status");
$nginxStatus = $p->parse();
var_dump($nginxStatus);
```
### Exception handling
...
## Running Tests
```bash
$ 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](https://github.com/svenkuegler/php-nginx-status-parser/blob/HEAD/LICENSE). This means you can do almost anything with it, as long as the copyright notice and the accompanying license file is left intact.