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