hjbdev / cs-log-parser-php
Counter-Strike log parsing in PHP
1.0.0
2023-10-04 16:21 UTC
Requires
- php: ^8.1
Requires (Dev)
- laravel/pint: ^1.12
- pestphp/pest: ^2.0
- spatie/ray: ^1.28
README
Parsing Counter-Strike (2) logs in PHP. Provides typed objects for each log and a class for matching individual log lines.
Installation
You can install the package via composer:
composer require hjbdev/cs-log-parser-php
Usage
use CSLog\CS2\Patterns; $model = Patterns::match($log);
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
- Harry (hjbdev)
- All Contributors
- eBot (for some of the original Global Offensive patterns, which I have updated and refined for CS2)
License
The MIT License (MIT). Please see License File for more information.