PHPackages                             rahul900day/gpt-3-encoder - 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. rahul900day/gpt-3-encoder

Abandoned → [rahul900day/tiktoken-php](/?search=rahul900day%2Ftiktoken-php)Library[Parsing &amp; Serialization](/categories/parsing)

rahul900day/gpt-3-encoder
=========================

GPT-3-Encoder is a PHP implementation of OpenAI's original python encoder/decoder.

1.1.0(3y ago)231.1k↑248.8%MITPHP ^7.4 || ^8.0

Since Mar 11Compare

[ Source](https://github.com/RahulDey12/gpt-3-encoder)[ Packagist](https://packagist.org/packages/rahul900day/gpt-3-encoder)[ Fund](https://ko-fi.com/rahul900day)[ RSS](/packages/rahul900day-gpt-3-encoder/feed)WikiDiscussions Synced today

READMEChangelogDependencies (4)Versions (6)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/RahulDey12/gpt-3-encoder).

###  Health Score

30

—

LowBetter than 67% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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

Total

4

Last Release

422d ago

PHP version history (2 changes)1.0.0PHP ^8.0

1.1.0PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/aaa15ae1ce7dae65de8cd5ffb0c2e2f0429fdc2b6308004827f20a7973f735d3?d=identicon)[rahul900day](/maintainers/rahul900day)

---

Tags

phpGPT-3tokenizerencoderdecodergpt-2GPT-3-TokenizerGPT-2-TokenizerGPT-3-EncoderGPT-2-Encoder

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Type Coverage Yes

### Embed Badge

![Health badge](/badges/rahul900day-gpt-3-encoder/health.svg)

```
[![Health](https://phpackages.com/badges/rahul900day-gpt-3-encoder/health.svg)](https://phpackages.com/packages/rahul900day-gpt-3-encoder)
```

###  Alternatives

[gioni06/gpt3-tokenizer

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

85510.4k6](/packages/gioni06-gpt3-tokenizer)[rajentrivedi/tokenizer-x

TokenizerX calculates required tokens for given prompt

90199.9k3](/packages/rajentrivedi-tokenizer-x)[shaarli/netscape-bookmark-parser

Generic Netscape bookmark parser

2542.3k](/packages/shaarli-netscape-bookmark-parser)[suin/json

A Simple wrapper of json\_decode() and json\_encode(). This provides object-oriented interface and exception-based error handing.

1027.5k3](/packages/suin-json)[mathematicator-core/tokenizer

Math Tokenizer

104.8k6](/packages/mathematicator-core-tokenizer)

PHPackages © 2026

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