Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 375 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 375 Bytes

OpenVPN-Parser

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());