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