Libraries tagged by tokeniser
danny50610/bpe-tokeniser
210011 Downloads
PHP port for openai/tiktoken (most)
mehrab-wj/tiktoken-php
28339 Downloads
a clone of python tiktoken but for PHP! fast BPE tokeniser for use with OpenAI's models.
hexydec/tokenise
7878 Downloads
A program for performing lexical analysis, written in PHP
theseer/tokenizer
607703657 Downloads
A small library for converting tokenized PHP source code into XML and potentially other formats
phpunit/php-token-stream
370298641 Downloads
Wrapper around PHP's tokenizer extension.
phpmyadmin/sql-parser
41874592 Downloads
A validating SQL lexer and parser with a focus on MySQL dialect.
jeremeamia/superclosure
58874495 Downloads
Serialize Closure objects, including their context and binding
nette/tokenizer
4293238 Downloads
Nette Tokenizer
yethee/tiktoken
1208984 Downloads
PHP version of tiktoken
netgen/query-translator
1578624 Downloads
Query Translator is a search query translator with AST representation
spiral/tokenizer
4584385 Downloads
Static Analysis: Class and Invocation locators
rajentrivedi/tokenizer-x
88836 Downloads
TokenizerX calculates required tokens for given prompt
gioni06/gpt3-tokenizer
351624 Downloads
PHP package for Byte Pair Encoding (BPE) used by GPT-3.
nilportugues/sql-query-formatter
880388 Downloads
A very lightweight PHP class that reformats unreadable and computer-generated SQL query statements to human-friendly, readable text.
andrewsville/php-token-reflection
1716610 Downloads
Library emulating the PHP internal reflection using just the tokenized source code.