PHPackages                             hhvm/hsl - 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. hhvm/hsl

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

hhvm/hsl
========

The Hack Standard Library

v4.108.1(5y ago)1151.1M↓32.4%22[2 issues](https://github.com/hhvm/hsl/issues)[4 PRs](https://github.com/hhvm/hsl/pulls)20MITHackCI passing

Since Aug 1Pushed 2mo ago21 watchersCompare

[ Source](https://github.com/hhvm/hsl)[ Packagist](https://packagist.org/packages/hhvm/hsl)[ RSS](/packages/hhvm-hsl/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (5)Versions (65)Used By (20)

[![Build Status](https://camo.githubusercontent.com/b994c91ce2f4a6fe85f584821017aea904ef5b726b7ca4c614f45e515967bd37/68747470733a2f2f7472617669732d63692e6f72672f6868766d2f68736c2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/hhvm/hsl)

Hack Standard Library
=====================

[](#hack-standard-library)

The goal of the Hack Standard Library is to provide a consistent, centralized, well-typed set of APIs for Hack programmers. We aim to achieve this by implementing the library according to codified design principles.

This library is especially useful for working with the Hack arrays (`vec`, `keyset`, and `dict`).

For future APIs, see [the experimental repository](https://github.com/hhvm/hsl-experimental).

Status of this repository
-------------------------

[](#status-of-this-repository)

As of 2021-05-04, the HSL is moving to be built into HHVM and the typechecker; as such, this repository currently only contains tests.

In the near future, we expect this repository to either be archived, or to become a partial mirror of the HHVM repository.

The HSL itself remains supported - this is just moving where the code lives.

Contributing
------------

[](#contributing)

Contributions should be made to the `hphp/hsl` subdirectory of [the HHVM repository](https://github.com/facebook/hhvm/).

License
-------

[](#license)

The Hack Standard Library is MIT-licensed.

###  Health Score

60

—

FairBetter than 99% of packages

Maintenance57

Moderate activity, may be stable

Popularity52

Moderate usage in the ecosystem

Community45

Growing community involvement

Maturity77

Established project with proven stability

 Bus Factor3

3 contributors hold 50%+ of commits

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

Total

65

Last Release

1840d ago

Major Versions

v3.30.0 → v4.0.02019-02-08

v3.27.3 → v4.0.x-dev2020-01-21

v1.4.x-dev → v3.30.x-dev2020-02-19

v3.30.x-dev → v4.0.22020-02-19

v3.30.1 → v4.41.02020-05-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/66d33e29918fd8cc713997dbbe03cb86e2aefbdc6736637641cdffed2f22accb?d=identicon)[fredemmott](/maintainers/fredemmott)

![](https://avatars.githubusercontent.com/u/8306375?v=4)[HHVM Community Bot](/maintainers/hhvm-bot)[@hhvm-bot](https://github.com/hhvm-bot)

---

Top Contributors

[![fredemmott](https://avatars.githubusercontent.com/u/360927?v=4)](https://github.com/fredemmott "fredemmott (129 commits)")[![kmeht](https://avatars.githubusercontent.com/u/1120478?v=4)](https://github.com/kmeht "kmeht (84 commits)")[![DavidSnider](https://avatars.githubusercontent.com/u/10112104?v=4)](https://github.com/DavidSnider "DavidSnider (59 commits)")[![periodic1236](https://avatars.githubusercontent.com/u/1748071?v=4)](https://github.com/periodic1236 "periodic1236 (25 commits)")[![jjergus](https://avatars.githubusercontent.com/u/2483917?v=4)](https://github.com/jjergus "jjergus (19 commits)")[![WizKid](https://avatars.githubusercontent.com/u/59419?v=4)](https://github.com/WizKid "WizKid (17 commits)")[![lexidor](https://avatars.githubusercontent.com/u/31805625?v=4)](https://github.com/lexidor "lexidor (14 commits)")[![viratyosin](https://avatars.githubusercontent.com/u/6019010?v=4)](https://github.com/viratyosin "viratyosin (12 commits)")[![rodmk](https://avatars.githubusercontent.com/u/2280164?v=4)](https://github.com/rodmk "rodmk (11 commits)")[![hgoldstein](https://avatars.githubusercontent.com/u/5455867?v=4)](https://github.com/hgoldstein "hgoldstein (11 commits)")[![alexeyt](https://avatars.githubusercontent.com/u/727402?v=4)](https://github.com/alexeyt "alexeyt (9 commits)")[![Atry](https://avatars.githubusercontent.com/u/601530?v=4)](https://github.com/Atry "Atry (8 commits)")[![KendallHopkins](https://avatars.githubusercontent.com/u/72923?v=4)](https://github.com/KendallHopkins "KendallHopkins (7 commits)")[![dneiter](https://avatars.githubusercontent.com/u/1376793?v=4)](https://github.com/dneiter "dneiter (7 commits)")[![AndrewDiMola](https://avatars.githubusercontent.com/u/5179225?v=4)](https://github.com/AndrewDiMola "AndrewDiMola (6 commits)")[![shashkambh](https://avatars.githubusercontent.com/u/21209896?v=4)](https://github.com/shashkambh "shashkambh (5 commits)")[![vassilmladenov](https://avatars.githubusercontent.com/u/5396637?v=4)](https://github.com/vassilmladenov "vassilmladenov (5 commits)")[![jano](https://avatars.githubusercontent.com/u/160642?v=4)](https://github.com/jano "jano (5 commits)")[![jtwarren](https://avatars.githubusercontent.com/u/1282605?v=4)](https://github.com/jtwarren "jtwarren (4 commits)")[![billf](https://avatars.githubusercontent.com/u/265988?v=4)](https://github.com/billf "billf (4 commits)")

### Embed Badge

![Health badge](/badges/hhvm-hsl/health.svg)

```
[![Health](https://phpackages.com/badges/hhvm-hsl/health.svg)](https://phpackages.com/packages/hhvm-hsl)
```

PHPackages © 2026

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