seatlon/cs2-log

Counter-Strike 2 log parsing in PHP

v1.0.9 2024-09-30 22:56 UTC

This package is auto-updated.

Last update: 2025-05-29 01:57:54 UTC


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 seatlon/cs2-log

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

License

The MIT License (MIT). Please see License File for more information.

Docker Build Command

docker build -t cs2-log .

Docker Run Command

docker run --rm --tty cs2-log