An open API service indexing awesome lists of open source software.

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

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.