sh-sh-dev / openvpn-parser
Parse OpenVPN status file
dev-main
2021-04-21 08:56 UTC
Requires
- php: ^7.1||^8.0
This package is not auto-updated.
Last update: 2025-01-08 21:30:07 UTC
README
Parse OpenVPN status files using php
Usage
- Install using composer:
composer require sh-sh-dev/openvpn-parser
After including composer dependencies in your project, just use the class:
Use Shay3gan\OpenVPN\Parser; $openvpn = new Parser(); $openvpn->setStatusFile("openvpn-status.log"); print_r($openvpn->parse());