PHP code example of hjbdev / cs-log-parser-php
1. Go to this page and download the library: Download hjbdev/cs-log-parser-php library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
hjbdev / cs-log-parser-php example snippets
use CSLog\CS2\Patterns;
$model = Patterns::match($log);