Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Php Token Analyzer Laravel Package

imanghafoori/php-token-analyzer

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...

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Enables custom static analysis for code quality, refactoring, and linting without executing code
  • Framework-agnostic design allows integration into any PHP project or toolchain (e.g., internal tooling, custom CI checks)
  • Reduces build-vs-buy tradeoff by providing a proven token-level analysis foundation instead of reinventing core parsing logic
  • Supports roadmap initiatives for automated code governance (e.g., enforcing company-wide coding standards, detecting deprecated patterns in legacy code)
  • Ideal for lightweight use cases where full static analysis tools (e.g., PHPStan, Psalm) are over-engineered

When to Consider This Package

  • ✅ When you need simple token-level analysis (e.g., detecting specific syntax patterns, code style rules, or custom linting)
  • ✅ For projects requiring framework-agnostic static analysis without runtime dependencies
  • ✅ If existing tools like PHPStan/PSALM are too heavy for targeted, narrow-scope checks
  • ❌ When comprehensive static analysis (type checking, dependency analysis, security scanning) is required
  • ❌ If long-term maintenance is critical (low activity since 2022, zero dependents, minimal community support)
  • ❌ For production security scanning or complex refactoring workflows (use specialized tools like RIPS, Snyk, or
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope