PHPackages                             gioni06/gpt3-tokenizer - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. gioni06/gpt3-tokenizer

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

gioni06/gpt3-tokenizer
======================

PHP package for Byte Pair Encoding (BPE) used by GPT-3.

v1.2.0(3y ago)85537.5k↑27.9%6Apache-2.0PHP ^8.0.2

Since Jan 17Compare

[ Source](https://github.com/Gioni06/GPT3Tokenizer)[ Packagist](https://packagist.org/packages/gioni06/gpt3-tokenizer)[ Docs](https://github.com/Gioni06/GPT3Tokenizer)[ RSS](/packages/gioni06-gpt3-tokenizer/feed)WikiDiscussions Synced 1mo ago

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

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/Gioni06/GPT3Tokenizer).

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity48

Moderate usage in the ecosystem

Community16

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.8% 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 ~29 days

Total

4

Last Release

1128d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/761dac6a90d8ad2d7ce74a1f26ca5353cb78b49a4d22256765e00834426c34d6?d=identicon)[Gioni06](/maintainers/Gioni06)

---

Top Contributors

[![Gioni06](https://avatars.githubusercontent.com/u/536849?v=4)](https://github.com/Gioni06 "Gioni06 (30 commits)")[![adrienbrault](https://avatars.githubusercontent.com/u/611271?v=4)](https://github.com/adrienbrault "adrienbrault (1 commits)")

---

Tags

encodedecodeGPT-3openaitokenizergpt-2

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/gioni06-gpt3-tokenizer/health.svg)

```
[![Health](https://phpackages.com/badges/gioni06-gpt3-tokenizer/health.svg)](https://phpackages.com/packages/gioni06-gpt3-tokenizer)
```

###  Alternatives

[yethee/tiktoken

PHP version of tiktoken

1583.1M15](/packages/yethee-tiktoken)[rajentrivedi/tokenizer-x

TokenizerX calculates required tokens for given prompt

91214.0k3](/packages/rajentrivedi-tokenizer-x)[kherge/json

Encodes, decodes, and validates JSON data.

61226.6k6](/packages/kherge-json)[devium/toml

A PHP encoder/decoder for TOML compatible with specification 1.0.0

3968.9k13](/packages/devium-toml)[rickselby/nbt

Parser/Writer for the NBT file format

171.2k1](/packages/rickselby-nbt)

PHPackages © 2026

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