https://github.com/hjbdev/cs-log-parser-php
Counter-Strike Log Parser in PHP
https://github.com/hjbdev/cs-log-parser-php
counter-strike counter-strike-2 cs2 parser
Last synced: 14 days ago
JSON representation
Counter-Strike Log Parser in PHP
- Host: GitHub
- URL: https://github.com/hjbdev/cs-log-parser-php
- Owner: hjbdev
- License: mit
- Created: 2023-08-31T17:10:28.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-04T17:08:07.000Z (over 2 years ago)
- Last Synced: 2025-12-22T09:28:50.744Z (about 1 month ago)
- Topics: counter-strike, counter-strike-2, cs2, parser
- Language: PHP
- Homepage:
- Size: 14.6 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Counter-Strike log parsing in PHP
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:
```bash
composer require hjbdev/cs-log-parser-php
```
## Usage
```php
use CSLog\CS2\Patterns;
$model = Patterns::match($log);
```
## Testing
```bash
composer test
```
## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Credits
- [Harry (hjbdev)](https://github.com/hjbdev)
- [All Contributors](../../contributors)
- [eBot](https://github.com/deStrO/eBot-CSGO) (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](LICENSE.md) for more information.