awesome-repositories.com
المدونة
MCP
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
sebastianbergmann avatar

sebastianbergmann/php-token-stream

0
View on GitHub↗
6,386 نجوم·58 تفرعات·PHP·3 مشاهدات

Php Token Stream

php-token-stream is a lexical analysis tool and tokenizer wrapper for PHP. It functions as a source code streamer that reads tokens one by one, preventing the need to load entire source files into memory.

The project provides memory-efficient parsing by wrapping the native PHP tokenizer extension. This allows for the sequential processing of source code tokens to analyze structural components and syntax.

The tool is designed for static code analysis and the development of compiler tooling. It supports linear token processing and sequential traversal to examine language constructs and project structures.

Features

  • Lexical Analyzers - Functions as a lexical analyzer that breaks PHP source code into a stream of tokens for analysis.
  • Tokenizer Wrappers - Wraps the native PHP tokenizer extension to provide a memory-efficient streaming interface.
  • Memory-Efficient Parsing - Minimizes memory overhead when analyzing large PHP files by streaming tokens instead of loading the full source.
  • Lexical Token Streams - Represents PHP source code as a sequence of discrete tokens for syntactic and structural analysis.
  • PHP Code Analysis - Analyzes the structure and syntax of PHP source code token by token without loading entire files.
  • Source Code Streamers - Reads PHP tokens one by one as a stream to prevent loading entire source files into memory.
  • Source Code Token Streaming - Implements an iterator-based approach to stream PHP tokens without loading entire source files into memory.
  • Compiler Tooling - Provides the sequential token parsing necessary for building PHP compiler and transformation tools.
  • Lazy Sequences - Provides a lazy-loading sequence that retrieves tokens only when requested to reduce memory overhead.
  • Token Stream Navigators - Maintains a stateful pointer within the token sequence to support sequential traversal and look-ahead operations.
  • Linear Tokenizers - Processes source code as a one-dimensional stream of tokens to simplify structural analysis.
  • Static Code Analysis Tools - Enables the examination of PHP source code for bugs and structural patterns without executing it.

سجل النجوم

مخطط تاريخ النجوم لـ sebastianbergmann/php-token-streamمخطط تاريخ النجوم لـ sebastianbergmann/php-token-stream

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

الأسئلة الشائعة

ما هي وظيفة sebastianbergmann/php-token-stream؟

php-token-stream is a lexical analysis tool and tokenizer wrapper for PHP. It functions as a source code streamer that reads tokens one by one, preventing the need to load entire source files into memory.

ما هي الميزات الرئيسية لـ sebastianbergmann/php-token-stream؟

الميزات الرئيسية لـ sebastianbergmann/php-token-stream هي: Lexical Analyzers, Tokenizer Wrappers, Memory-Efficient Parsing, Lexical Token Streams, PHP Code Analysis, Source Code Streamers, Source Code Token Streaming, Compiler Tooling.

ما هي البدائل مفتوحة المصدر لـ sebastianbergmann/php-token-stream؟

تشمل البدائل مفتوحة المصدر لـ sebastianbergmann/php-token-stream: phpdocumentor/reflectioncommon — ReflectionCommon is a PHP reflection interface library and code analysis abstraction. It serves as a foundation for… nunomaduro/phpinsights — PhpInsights is a static analysis tool and code quality analyzer for PHP. It evaluates source code to identify bugs,… doctrine/lexer — This project is a regular expression lexer library and lexical analysis engine used to break input strings into typed… antlr/antlr4 — ANTLR is a grammar-based code generator and multi-language parser generator used to design and implement custom… felixfbecker/php-language-server — This project is a backend service that implements the Language Server Protocol to provide IDE-integrated intelligence… alecthomas/participle — Participle is a Go parser generator and toolkit for building language frontends. It provides a declarative grammar…

بدائل مفتوحة المصدر لـ Php Token Stream

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع Php Token Stream.
  • phpdocumentor/reflectioncommonالصورة الرمزية لـ phpDocumentor

    phpDocumentor/ReflectionCommon

    9,058عرض على GitHub↗

    ReflectionCommon is a PHP reflection interface library and code analysis abstraction. It serves as a foundation for static analysis by providing a shared specification for representing classes, methods, and properties during programmatic code inspection. The project standardizes the reflection API to decouple analysis tools from specific PHP reflection implementations. This ensures that different analysis implementations can work interchangeably through a consistent layer of interfaces. The library covers the domain of PHP code analysis and static analysis tooling, establishing a common way

    PHPhacktoberfest
    عرض على GitHub↗9,058
  • nunomaduro/phpinsightsالصورة الرمزية لـ nunomaduro

    nunomaduro/phpinsights

    5,607عرض على GitHub↗

    PhpInsights is a static analysis tool and code quality analyzer for PHP. It evaluates source code to identify bugs, style violations, and technical debt without executing the application. The tool functions as a complexity metric utility, calculating architectural and cyclomatic complexity to locate overly complicated logic. It measures overall software health and maintainability by comparing code against industry standards. The system manages technical debt through rule-based validation and metric-driven scoring. It uses a static analysis engine to parse source code, delivering the results

    PHP
    عرض على GitHub↗5,607
  • doctrine/lexerالصورة الرمزية لـ doctrine

    doctrine/lexer

    11,156عرض على GitHub↗

    This project is a regular expression lexer library and lexical analysis engine used to break input strings into typed token streams. It serves as a foundational component for constructing compilers or interpreters by identifying and categorizing substrings into discrete tokens. The library provides a token stream navigator featuring a cursor-based interface. This allows for sequential traversal of tokenized input and non-destructive lookahead, enabling the inspection of future tokens without advancing the internal position pointer. It includes specific support for recursive descent parsing t

    PHP
    عرض على GitHub↗11,156
  • antlr/antlr4الصورة الرمزية لـ antlr

    antlr/antlr4

    18,928عرض على GitHub↗

    ANTLR is a grammar-based code generator and multi-language parser generator used to design and implement custom languages. It functions as a toolkit for transforming formal language definitions into executable source code for processing structured text or binary files, while providing a framework for automatically constructing and traversing hierarchical parse trees. The project is distinguished by its ability to generate lexers and parsers in various target programming languages from a single shared grammar definition. It supports grammars containing direct left recursion and utilizes adapti

    Java
    عرض على GitHub↗18,928
عرض جميع البدائل الـ 30 لـ Php Token Stream→