PHPackages                             hhpack/typechecker-client - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. hhpack/typechecker-client

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

hhpack/typechecker-client
=========================

Type checker client library for Hack

1.0.0(9y ago)11771MITHack

Since Oct 31Pushed 9y agoCompare

[ Source](https://github.com/hhpack/typechecker-client)[ Packagist](https://packagist.org/packages/hhpack/typechecker-client)[ RSS](/packages/hhpack-typechecker-client/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (5)Versions (15)Used By (1)

typechecker-client
==================

[](#typechecker-client)

[![Latest Stable Version](https://camo.githubusercontent.com/de8e1d1c76dd9f613537ffe83d6fd8109e327f7541c3a7e04c74056d59a4cd8d/68747470733a2f2f706f7365722e707567782e6f72672f68687061636b2f74797065636865636b65722d636c69656e742f76657273696f6e)](https://packagist.org/packages/hhpack/typechecker-client)[![Build Status](https://camo.githubusercontent.com/2a703d20ef4d2181edc848090dd1357ae0947b130e25b4a50923eb0332b61692/68747470733a2f2f7472617669732d63692e6f72672f68687061636b2f74797065636865636b65722d636c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/hhpack/typechecker-client)[![Dependency Status](https://camo.githubusercontent.com/bb81b96b4ddce84239d7ded1998bc429300da6e6d44378f41220dba8937ec6e5/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f757365722f70726f6a656374732f3536333436363436333664306162303031363030316633622f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/user/projects/5634664636d0ab0016001f3b)[![License](https://camo.githubusercontent.com/66c31864bbfc036416b8fc193b07129eadf3d27eb3ad687af71011e67847a129/68747470733a2f2f706f7365722e707567782e6f72672f68687061636b2f74797065636865636b65722d636c69656e742f6c6963656e7365)](https://packagist.org/packages/hhpack/typechecker-client)

Basic usage
-----------

[](#basic-usage)

Examples of the type of check will be as follows.

```
use HHPack\TypeChecker\TypeCheckerClient;

$client = new TypeCheckerClient(getcwd());

await $client->restart();

$result = await $client->check();

if ($result->isPassed()) {
    echo "Passed!!", PHP_EOL;
} else {
    echo "Failed!!", PHP_EOL;
}
```

Type of coverage
----------------

[](#type-of-coverage)

Examples of the type of coverage will be as follows.

```
use HHPack\TypeChecker\TypeCheckerClient;
use HHPack\TypeChecker\Coverage\File;

$client = new TypeCheckerClient(getcwd());
await $client->restart();

$result = await $client->coverage();
$files = $result->filter(($item) ==> {
    return $item instanceof File;
});

foreach ($files as $file) {
    $formattedParsentage = sprintf('%6.2f%%', (float) $file->parsentage() * 100);
    echo $formattedParsentage, ' ', $file->name(), PHP_EOL;
}
```

API of Client
-------------

[](#api-of-client)

- **version** - return type checker version
- **init** - generate configuration file
- **start** - starts a hack server
- **stop** - stops a hack server
- **restart** - restarts a hack server
- **check** - return result of type check
- **coverage** - return result of coverage

Run the test
------------

[](#run-the-test)

You can run the test with the following command.

```
composer install
composer test

```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity71

Established project with proven stability

 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 ~36 days

Recently: every ~112 days

Total

14

Last Release

3422d ago

Major Versions

0.6.1 → 1.0.02017-02-18

### Community

Maintainers

![](https://www.gravatar.com/avatar/70c299d6d6015ee714954aa05e4d0e9c7b1d31318a5d7db5e9bb4e1f70f78afc?d=identicon)[holyshared](/maintainers/holyshared)

---

Top Contributors

[![holyshared](https://avatars.githubusercontent.com/u/167190?v=4)](https://github.com/holyshared "holyshared (101 commits)")

---

Tags

hacklanghhvmclienthhvmhacktypechecker

### Embed Badge

![Health badge](/badges/hhpack-typechecker-client/health.svg)

```
[![Health](https://phpackages.com/badges/hhpack-typechecker-client/health.svg)](https://phpackages.com/packages/hhpack-typechecker-client)
```

PHPackages © 2026

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