{"categories":[{"label":"Linguistic","url":"https://skillfed.io/packages/category/text-processing-linguistic"},{"label":"Compilers","url":"https://skillfed.io/packages/category/software-development-compilers"}],"enrichment":{"capability":"Provides a PHP language grammar for tree-sitter, enabling incremental parsing and syntax tree analysis of PHP code.","skillfed_tags":["parsing","php","ast"],"use_cases":["Build linters or code formatters that analyze PHP syntax trees for style violations or refactoring opportunities.","Implement static analysis tools that traverse PHP ASTs to detect bugs, security issues, or code smells.","Create IDE extensions or editor plugins that provide syntax highlighting or navigation for PHP.","Parse and transform PHP code programmatically for code generation, migration, or automated refactoring.","Analyze large PHP codebases to extract metrics, dependencies, or architectural patterns."],"what_it_does":"tree-sitter-php is a language grammar module that provides PHP syntax parsing for the tree-sitter incremental parsing framework. It enables developers to parse PHP code into abstract syntax trees for analysis, transformation, or tooling purposes. The package provides precompiled binaries for major platforms (macOS x86/arm, Linux x86/arm, Windows), reducing installation friction compared to building from source.\n\nThe package is part of the broader tree-sitter ecosystem and is actively maintained, with recent commits and no known security vulnerabilities. It requires Python 3.10 or later and has no runtime dependencies beyond the tree-sitter framework itself.","worth_installing":"Yes, if you need to parse or analyze PHP code programmatically within the tree-sitter ecosystem. The package is actively maintained, has no security vulnerabilities, uses a permissive MIT license, and medium install friction is acceptable for a compiled grammar. Not necessary if you're not already using tree-sitter or if you only need basic PHP tokenization."},"id":"tree-sitter-php","links":{"html":"https://skillfed.io/packages/tree-sitter-php","md":"https://skillfed.io/packages/tree-sitter-php.md","pypi":"https://pypi.org/project/tree-sitter-php/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-08-16","license_spdx":"MIT","license_treatment":"permissive","name":"tree-sitter-php","python_support":"supports_current","summary":"PHP grammar for tree-sitter"},"popularity":{"monthly_downloads":7316065,"position":1755,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.24.1"}
