PHPackages                             webrepin/hltv-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. webrepin/hltv-api

ActiveLibrary[API Development](/categories/api)

webrepin/hltv-api
=================

PHP Hltv API Client

1.0.31(6y ago)2533[1 PRs](https://github.com/webrepin/hltv-api/pulls)MITPHPPHP &gt;=7.0.0CI failing

Since Nov 25Pushed 10mo ago2 watchersCompare

[ Source](https://github.com/webrepin/hltv-api)[ Packagist](https://packagist.org/packages/webrepin/hltv-api)[ Docs](https://github.com/webrepin/hltv-api)[ RSS](/packages/webrepin-hltv-api/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (6)Dependencies (4)Versions (8)Used By (0)

PHP hltv-api
============

[](#php-hltv-api)

The hltv based module for the automatic event grabbing

### About

[](#about)

1. **What is it?**This is PHP code for parsing Hltv requests.
2. **What can it do?**It can get actual match-list, get detailed match-info for single match.
3. **What I need to work with it?**First of all you need web-server with **PHP 7.0+** ( **PDO** and **cURL** should be enabled). Then look at install section.

### Install

[](#install)

1. Install via [Composer](http://getcomposer.org/):

    ```
    {
        "require": {
            "webrepin/hltv-api": "*"
        }
    }
    ```
2. Initialize Hltv-Api like this:

    ```
    require_once 'vendor/autoload.php';

    use HltvApi\Client;

    $client = new Client();
    ```
3. Supported list of requests is:

    ### Requests

    [](#requests)

    TypeURL**Supported**ongoingupcomingresultsmatchDetails
4. All request return object abstract layer based on Entity

    ```
    use HltvApi\Entity\Entity;
    ```

    Example how to getting ongoing match list:

    ```
    require_once 'vendor/autoload.php';

    use HltvApi\Client;

    $client = new Client();

    $matches = $client->ongoing();

    foreach ($matches as $match) {
       echo $match->getTeam1();
       echo $match->getTeam2();
       echo $match->getMatchUrl();
       echo $match->getMatchUrl();
    }
    ```

    Follow the match details:

    ```
    echo $match->details()->getOdds()
    echo $match->details()->getMapName(1)
    echo $match->details()->getMapScore(1)
    echo $match->details()->getMapResults(1)
    ```
5. To getting more stability you can protect your request by using Proxy list

    ```
    require_once 'vendor/autoload.php';

    use HltvApi\Client;

    $client = new Client([
       ['0.0.0.0', '80', CURLPROXY_SOCKS5],
       ['0.0.0.0', '443', CURLPROXY_HTTP],
       ...
    ]);
    ```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~10 days

Total

6

Last Release

2311d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13800269?v=4)[Konstantin](/maintainers/webrepin)[@webrepin](https://github.com/webrepin)

---

Top Contributors

[![webrepin](https://avatars.githubusercontent.com/u/13800269?v=4)](https://github.com/webrepin "webrepin (1 commits)")

---

Tags

apicscsgocsgoapihltvhltv.org

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/webrepin-hltv-api/health.svg)

```
[![Health](https://phpackages.com/badges/webrepin-hltv-api/health.svg)](https://phpackages.com/packages/webrepin-hltv-api)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[mailchimp/transactional

458.9M16](/packages/mailchimp-transactional)[get-stream/stream-chat

A PHP client for Stream Chat (https://getstream.io/chat/)

301.8M2](/packages/get-stream-stream-chat)[convertkit/convertkitapi

Kit PHP SDK for the Kit API

2167.1k1](/packages/convertkit-convertkitapi)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
