spiral/tokenizer
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.
This package supports legacy maintenance of older Spiral Framework applications requiring class scanning for dependency injection or service registration. However, its inactive status (last release 2019) and low adoption (17 stars) make it unsuitable for new feature development or greenfield projects. Product managers should prioritize using the main Spiral Framework's integrated components or modern alternatives like Symfony's ClassFinder or Laravel's reflection utilities to ensure maintainability and future scalability.
Only consider this package when maintaining existing Spiral Framework v2.x applications that explicitly depend on this specific subtree split. Avoid for new projects, non-Spiral frameworks, or scenarios requiring active maintenance. Verify if the required functionality is already provided by the main Spiral Framework package before evaluating this split—its read-only nature and lack of updates indicate it is not intended for standalone use.
"This package is a legacy component of Spiral Framework, effectively obsolete for new development. While it may be required for backward compatibility in older Spiral systems, we strongly advise against adopting it for new initiatives. Modern alternatives like Laravel's built-in service container or Symfony's ClassLoader offer superior support, active maintenance, and broader community adoption. Choosing these ensures reduced technical debt and alignment with current best practices."
How can I help you explore Laravel packages today?