phootwork/tokenizer
Phootwork Tokenizer wraps PHP's native token_get_all in an object-oriented API, splitting source code into tokens you can filter, map, and inspect by type, name, or value. A practical foundation for code analysis, formatting, and refactoring tools.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| phpunit/php-token-stream | 0.84 | phpunit/php-token-stream is a small PHP library for tokenizing and streaming PHP source code tokens, commonly used by PHPUnit and related tools for parsing, reflection-like inspection, and test-related code analysis. | 6,370 | 6,392 | 58 | 2M | 0 | 26.7 | 33.6 | NOASSERTION | — | |
| phootwork/collection | 0.83 | phootwork/collection is a lightweight PHP collection library providing convenient data structures and fluent helpers to work with arrays and iterables. Includes common operations like map/filter/reduce, searching, sorting, and easy conversion between collection types. | 38 | 40 | 3 | 1M | 0 | 8.1 | 55.3 | MIT | 2 years ago | |
| theseer/tokenizer | 0.83 | A PHP tokenizer library for parsing PHP source code into tokens, built on top of ext/tokenizer. Used by tools like PHPUnit to analyze code, inspect syntax, and support static analysis, refactoring, and code quality workflows. | 5,192 | 5,205 | 25 | 14M | 0 | 30.8 | 48.4 | NOASSERTION | 10 months ago | |
| phootwork/lang | 0.82 | phootwork/lang is a lightweight PHP library of language utilities and building blocks, offering common helpers and core abstractions to simplify everyday coding tasks. A small foundation package meant to complement your app or other phootwork components. | 12 | 12 | 0 | 1M | 0 | 6.7 | 55.3 | MIT | 2 years ago | |
| imanghafoori/php-token-analyzer | 0.82 | Analyzes PHP code tokens without execution—like reflection but pure PHP. Framework-agnostic, lightweight dependency extracted from Laravel-Microscope. Supports PHP 7.4+ with automated tests for accuracy. Extract class/method details, token types, and structure effortlessly. Ideal for static analysis... | 16 | 16 | 4 | 9K | 0 | 0.6 | 37.7 | — | 4 years ago | |
| spiral/tokenizer | 0.82 | Fast PHP tokenizer for discovering classes, interfaces, traits, and functions without loading files. Scans directories, parses source code, and builds a registry for runtime reflection, DI containers, and framework bootstrapping—lightweight and cache-friendly. | 18 | 18 | 5 | 756K | 0 | 5.3 | 55.3 | MIT | 6 years ago | |
| phug/lexer | 0.81 | A fast, extensible PHP lexer for Pug (Jade) templates and the Phug ecosystem. It converts template source into structured tokens for parsing, supporting indentation, tags, attributes, interpolation, code, and comments with configurable scanners. | 3 | 4 | 0 | 220 | 0 | 7.5 | 25.7 | MIT | 7 months ago | |
| phootwork/file | 0.81 | Phootwork File is a lightweight, object-oriented PHP library for working with the filesystem. Read, write, and iterate over file contents through a clean API, with useful path and file utilities that drop easily into any PHP project. | 7 | 7 | 5 | 1K | 0 | 0.2 | 29.3 | MIT | 2 years ago | |
| rajentrivedi/tokenizer-x | 0.81 | Tokenizer X is a Laravel package for generating and managing secure, unique tokens in your application. Use it for API authentication, email verification, password resets, and similar flows, with configurable token length and expiry. | 91 | — | 9 | — | 0 | 1.6 | 1.5 | MIT | 2 years ago | |
| symplify/simple-php-doc-parser | 0.81 | Simple PHP Doc Parser by Symplify is a lightweight library for reading PHP docblocks. It extracts comments, tags, and annotations from classes, methods, and properties through a simple API, making PHPDoc data easy to use in static analysis, code generation, and documentation tools. | 0 | 24 | — | 480 | — | 0.0 | 37.1 | — | — | |
| phug/parser | 0.81 | phug/parser is the PHP parser behind Phug, converting Pug/Jade template source into an abstract syntax tree. It tokenizes and parses Pug syntax—tags, attributes, expressions, mixins, includes—for the Phug rendering engine. | 4 | 3 | 1 | 181 | 0 | 7.5 | 23.1 | MIT | 7 months ago | |
| yosymfony/parser-utils | 0.80 | A small PHP toolkit for building parsers, providing tokens, token streams, AST nodes, source locations, and syntax errors. It offers reusable utilities for lexers and recursive-descent parsers, and underpins libraries such as yosymfony/toml. | 21 | 21 | 3 | 48K | 0 | 0.2 | 46.1 | MIT | 8 years ago | |
| phlak/splat | 0.80 | Splat is a lightweight PHP library for matching strings against wildcard patterns. It provides simple, expressive helpers for route-style matching, capturing wildcard segments, and filtering paths or values, making it useful for routing, file matching, and other pattern-based tasks. | 105 | — | 5 | — | 0 | 0.7 | — | MIT | 1 year ago |
|
| leovie/php-token-normalize | 0.80 | A PHP library for normalizing PHP tokens, making it easier to compare, analyze, or process code consistently. Useful for static analysis, duplicate detection, obfuscation checks, and tooling that needs a stable token representation. | 0 | 0 | 0 | 110 | 0 | 0.5 | 28.3 | BSD-3-Clause | 4 years ago |
How can I help you explore Laravel packages today?