Libraries tagged by tokenizer

patchwork/php-parser

6 Favers
30 Downloads

Fast and extensible PHP code analysis and transformation

Go to Download


kamthorn/thai-break

2 Favers
14 Downloads

Fast, high-accuracy Thai word segmentation & typographic line breaker for PHP and Laravel (dompdf, mPDF, Web)

Go to Download


jawitold/fqcn-extractor

0 Favers
104 Downloads

A lightweight PHP utility to extract the Fully Qualified Class Name (FQCN) from a PHP source file using the built-in tokenizer.

Go to Download


edin/lexicon

6 Favers
28 Downloads

Attribute-driven PHP lexer and parser toolkit with enum tokens, grammar recipes, diagnostics, and AST/BNF debugging.

Go to Download


cxrxexo/tiktoken

2 Favers
2196 Downloads

PHP version of tiktoken. PHP 7.4+ required.

Go to Download


codechap/yii3-context-trimmer

0 Favers
22 Downloads

Tokenizer-agnostic text preprocessor for trimming and optimising content for LLM context windows.

Go to Download


chrismcmacken/phptools

25 Favers
3558 Downloads

Small utilities that assist in developing applications

Go to Download


masnathan/sql-query-formatter

0 Favers
1854 Downloads

A very lightweight PHP class that reformats unreadable and computer-generated SQL query statements to human-friendly, readable text.

Go to Download


crazzy501/gpt-3-encoder-php

1 Favers
450 Downloads

PHP BPE Text Encoder/Decoder for GPT-2 / GPT-3. Based on coderevolutionplugins/gpt-3-encoder-php

Go to Download


robo47/php-manipulator

4 Favers
8 Downloads

Manipulation of php code, automated refactoring based on phps tokenizer

Go to Download


ecomdev/magento-translate-tool

8 Favers
6 Downloads

Magento translation tool that utilizes PHP Tokenizer in order to generate csv files from PHP, XML, PHTML code

Go to Download


zen0x7/tokenizer

0 Favers
22 Downloads

PHP SDK for Service Framework authentication and token generation.

Go to Download


your1/tokenizer-x

0 Favers
273 Downloads

TokenizerX calculates required tokens for given prompt

Go to Download


yep/tokenizer

0 Favers
8 Downloads

Tokenizer

Go to Download


webrek/tokenizers

0 Favers
0 Downloads

Native byte-level BPE (tiktoken-compatible: cl100k_base/o200k_base) plus WordPiece and Unigram tokenizers for PHP 8.3+, with a process-shared vocab cache. Loads HuggingFace tokenizer.json models and counts Claude/Gemini tokens via their APIs.

Go to Download


<< Previous Next >>