Parsing Counter-Strike (2) logs in PHP. Provides typed objects for each log and a class for matching individual log lines.
You can install the package via composer:
composer require hjbdev/cs-log-parser-php
use CSLog\CS2\Patterns;
$model = Patterns::match($log);
composer test
Please see CHANGELOG for more information on what has changed recently.
- Harry (hjbdev)
- All Contributors
- eBot (for some of the original Global Offensive patterns, which I have updated and refined for CS2)
The MIT License (MIT). Please see License File for more information.