nikic/php-parser
Parse PHP code into an Abstract Syntax Tree (AST) for static analysis, manipulation, and code generation. Supports PHP 5.x to 8.4, handles errors gracefully, and preserves formatting during AST-to-code conversion. Easily traverse, modify, and convert ASTs back to PHP, with JSON serialization support...
|
Package
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| adriansuter/php-autoload-override | Override PHP autoloading to take control of how classes are resolved. php-autoload-override lets you hook into Composer’s autoloader to swap, alias, or redirect class loading—useful for debugging, testing, and patching vendor code without forks. | 21 | 22 | 3 | 3K | 0 | 22.4 | 35.1 | MIT | 1 year ago | |
| ajthinking/archetype | Laravel package for defining and instantiating “archetypes” to generate consistent model data and fixtures. Helps standardize defaults, variations, and seeding/test setup by composing reusable templates for your app’s entities. | 271 | 272 | 19 | 136K | 2 | 31.3 | 43.9 | — | 1 year ago | |
| area17/phptorch | A lightweight PHP binding for Torch (PyTorch/libtorch), letting you run tensor operations and neural-network inference from PHP. Aimed at simple ML tasks and experimentation, with minimal API surface and straightforward integration in PHP projects. | 2 | 2 | 1 | 823 | 0 | 0.0 | 33.7 | — | — | |
| bensampo/laravel-enum | Laravel Enum provides a powerful enum implementation for Laravel with class-constant definitions, instantiation, casting, validation, localization, bitwise/flag enums, and an artisan generator. Not recommended for new projects—use native PHP 8.1 enums. | 2,035 | 2,051 | 160 | 309K | 1 | 15.1 | 30.1 | MIT | — | |
| bottelet/translation-checker | Laravel dev tool to scan your code for translation strings, detect missing keys in lang files (JSON/PHP), and sync them across locales. Optionally use AI to auto-translate missing entries; otherwise adds null placeholders to keep files consistent. | 130 | 130 | 8 | 4K | 2 | 25.8 | 25.2 | MIT | 3 months ago | |
| brick/varexporter | Prettier, safer alternative to PHP var_export(). Exports variables as standalone executable PHP code (no runtime dependency) with short array syntax, cleaner numeric arrays, and support for closures and custom objects beyond __set_state(), ideal for fast OPcache-friendly caching. | 194 | 197 | 19 | 952K | 6 | 28.7 | 62.2 | MIT | 3 months ago | |
| composer-unused/symbol-parser | composer-unused/symbol-parser is a small toolkit that parses PHP symbols from a Composer package, helping tools like composer-unused detect what code is actually referenced. Useful for analyzing dependencies, exports, and usage across a project. | 14 | 14 | 13 | 216K | 0 | 28.8 | 65.0 | MIT | 2 months ago | |
| deptrac/deptrac | Deptrac helps you define and enforce architectural boundaries in PHP projects. Configure layers and dependency rules, then analyze your codebase to detect forbidden dependencies. Useful for keeping clean architecture, preventing drift, and improving maintainability in large apps. | 2,911 | 2,909 | 151 | 918K | 27 | 56.3 | 52.7 | MIT | 2 months ago | |
| driftingly/rector-laravel | Community-maintained Rector extension for Laravel. Apply automated refactoring rules to upgrade Laravel (and first-party packages like Cashier/Livewire) via composer-based detection or manual version sets, helping modernize codebases safely and consistently. | 1,201 | 1,196 | 99 | 1M | 18 | 44.5 | 58.7 | MIT | 20 hours ago | |
| ekino/phpstan-banned-code | PHPStan extension that flags banned code patterns in your project (e.g., var_dump, dd, exit/die, eval, echo/print, shell exec/backticks). Configurable via PHPStan parameters, with optional checks like preventing use imports from Tests in non-test code. | 296 | 292 | 24 | 206K | 4 | 28.0 | 48.4 | MIT | 3 weeks ago | |
| eliashaeussler/phpstan-config | Opinionated PHPStan configuration presets and extensions by Elias Häußler. Drop-in rules and baseline settings to standardize static analysis across projects, reduce false positives, and improve code quality with minimal setup for common PHP/Laravel workflows. | 2 | 2 | 0 | 15K | 1 | 27.4 | 60.2 | GPL-3.0 | 3 months ago | |
| ergebnis/rector-rules | Custom Rector rules from Ergebnis to standardize and modernize PHP code. Includes sorting associative arrays and match arms, converting Faker generator property fetches to method calls, and fixing namespaced symbol references. Install via Composer for dev. | 9 | 9 | 0 | 18K | 0 | 30.3 | 52.8 | MIT | 1 week ago | |
| eventsauce/eventsauce | EventSauce is a PHP event sourcing library for modeling domain events, rebuilding state from event streams, and integrating message dispatching. It provides aggregates, repositories, serializers, and tooling to help implement reliable event-driven architectures. | 6 | — | 1 | — | 1 | 20.2 | — | GPL-2.0 | 10 years ago | |
| google/cloud-core | Shared core infrastructure for Google Cloud PHP libraries, including common transport, auth, retry, and configuration utilities. Not intended for direct use—required by other Google Cloud components. Stable GA with backwards-compatible minor and patch releases. | 343 | 346 | 21 | 3M | 0 | 31.6 | 65.0 | Apache-2.0 | 3 weeks ago | |
| graham-campbell/analyzer | Analyzer is a PHP test utility by Graham Campbell that checks your code for references to classes that don’t actually exist. Compatible with PHP 8.1–8.5 and PHPUnit 10–13, helping catch broken imports and missing dependencies early. | 29 | 30 | 5 | 5K | 0 | 29.6 | 36.1 | MIT | 2 weeks ago | |
| icanhazstring/composer-unused | composer-unused detects and removes unused Composer dependencies in PHP/Laravel projects. It analyzes your codebase to find packages not referenced, reports what can be safely removed, and helps keep composer.json/lock lean and maintainable. | 1,676 | 1,678 | 57 | 220K | 10 | 42.2 | 39.4 | MIT | 2 months ago | |
| infection/infection | Infection is a PHP 8.2+ mutation testing framework that measures test suite strength by introducing small code changes (mutations) and checking if tests catch them. Integrates with common PHP test runners and provides mutation score (MSI) reporting. | 2,187 | 2,195 | 177 | 961K | 159 | 65.2 | 71.4 | BSD-3-Clause | 1 month ago | |
| infection/mutator | Mutation testing tool for PHP: generates code mutations and runs your PHPUnit tests to measure how well they catch bugs. Helps improve test quality and identify weak assertions, with configurable mutators, thresholds, and reporting for CI pipelines. | 8 | 8 | 2 | 823K | 0 | 21.3 | 65.0 | BSD-3-Clause | 11 months ago | |
| jeremeamia/superclosure | Serialize and unserialize PHP Closures/anonymous functions, including use() context, via fast TokenAnalyzer or more robust AstAnalyzer. Note: project is no longer maintained; consider using opis/closure instead. | 1,708 | 1,715 | 94 | 155K | 0 | 34.5 | 31.9 | MIT | 8 years ago | |
| jetbrains/phpstorm-stubs | PHPStorm stubs: syntactically correct PHP files with signatures, constants, and full PHPDoc for PHP core and most extensions. Used by IDEs for completion, inspections, type inference, and documentation popups. Community-maintained for non-standard extensions. | 1,379 | 1,373 | 824 | 2M | 0 | 48.1 | 50.9 | Apache-2.0 | 2 months ago | |
| kkszymanowski/traitor | Traitor brings traits to Eloquent like first-class relations. Define reusable, composable model fragments and access them via $model->traitName, eager load with with('traitName'), and query through them—keeping models slim while sharing behavior and attributes. | 130 | 130 | 3 | 106K | 1 | 23.5 | 47.3 | MIT | 2 years ago | |
| knuckleswtf/scribe | Scribe generates human-friendly API docs from your Laravel code. It builds a polished single-page HTML site with code samples and “Try It Out”, plus Postman collections and OpenAPI specs. It can infer params from validation and fetch sample responses. | 2,287 | 2,282 | 360 | 542K | 93 | 71.8 | 67.3 | MIT | 2 weeks ago | |
| larastan/larastan | Larastan is a PHPStan extension for Laravel that boosts code quality by analyzing your app and catching bugs before tests. It understands Laravel’s “magic” by booting the container to resolve runtime types. Supports Laravel 9+ (version-dependent). | 6,360 | 6,364 | 492 | 3M | 76 | 89.1 | 74.3 | MIT | 1 month ago | |
| laravel/ranger | Laravel Ranger is a beta introspection library for Laravel apps. It walks your codebase to discover routes, models, enums, broadcast events, env vars, and Inertia components, firing callbacks with rich DTOs so you can analyze or export app metadata. | 53 | 51 | 9 | 21K | 3 | 24.5 | 42.6 | MIT | 1 day ago | |
| laravel/surveyor | Laravel Surveyor is a mostly static analysis tool for PHP/Laravel code. It parses files to extract metadata on classes, methods, properties, and types, and can also inspect models (brief DB connection) and container bindings to enrich results for other tools/packages. | 76 | 76 | 19 | 22K | 2 | 24.4 | 39.9 | — | 3 weeks ago | |
| lctrs/psalm-psr-container-plugin | Psalm plugin that improves static analysis for PSR-11 containers. Adds smarter type inference for container get/has calls so services and dependencies resolve to the right classes, reducing false positives and making container-heavy code safer to refactor. | 17 | 17 | 7 | 8K | 2 | 25.5 | 44.1 | MIT | 1 year ago | |
| league/container | PSR-11–compliant dependency injection container from The PHP League. Register services, factories and shared instances, then resolve dependencies with autowiring support. Modern PHP (8.3+) with full docs, tests, and MIT license. | 863 | 905 | 104 | 2M | 5 | 38.1 | 56.2 | MIT | 2 weeks ago | |
| livewire/blaze | Blaze accelerates Laravel anonymous Blade components by compiling templates into optimized PHP functions, cutting 91–97% of rendering overhead with drop-in compatibility. Enable per component via @blaze or optimize directories, with optional memoization and folding. | 689 | 689 | 33 | 185K | 2 | 31.7 | 42.2 | MIT | 1 week ago | |
| lmc/coding-standard | Deprecated PHP coding standard for Alma Career Czechia (formerly LMC). Based on PSR-12 and partially PER 2.0, delivered via EasyCodingStandard with rules for PHP-CS-Fixer and PHP_CodeSniffer to enforce readable, consistent code and catch common mistakes. | 0 | 0 | 0 | 1K | 0 | 0.0 | 30.3 | MIT | — | |
| maglnet/composer-require-checker | CLI tool that scans your PHP sources and composer.json to ensure every used class/function/extension comes from an explicit require. Detects “soft” (transitive) dependencies and missing PHP extensions so updates don’t break your package. | 992 | 999 | 78 | 321K | 32 | 47.8 | 57.8 | MIT | 2 weeks ago | |
| mayflower/mo4-coding-standard | PHP_CodeSniffer ruleset for the MO4 coding standard. Extends Symfony’s standard with extra sniffs for array formatting (alignment, multiline rules), property docblocks (@var), and lexicographically sorted use statements (configurable ordering). | 17 | 17 | 10 | 7K | 2 | 25.9 | 43.4 | MIT | 3 weeks ago | |
| nette/php-generator | Generate PHP code via a fluent API: build classes, interfaces, functions, methods, properties, namespaces, and PHPDoc, then render to valid PHP. Handy for code generators, scaffolding tools, and runtime code output with strict formatting and escaping. | 2,247 | 2,276 | 146 | 3M | 1 | 45.2 | 50.2 | NOASSERTION | 2 months ago | |
| nikic/php-fuzzer | A coverage-guided fuzzing tool for PHP that helps uncover crashes, assertion failures, and security bugs in PHP itself and extensions. Uses AFL-style instrumentation and supports running targets under various sanitizers for fast, automated bug hunting. | 439 | 437 | 17 | 18K | 3 | 26.7 | 26.9 | MIT | 10 months ago | |
| nunomaduro/larastan | Larastan is a PHPStan extension for Laravel that analyzes your app to catch bugs early. It boots the container to resolve dynamic types, supports Laravel’s “magic,” and improves code quality with stronger static typing. | 6,360 | 6,368 | 492 | 418K | 76 | 89.1 | 60.8 | MIT | 1 month ago | |
| pepakriz/phpstan-exception-rules | PHPStan extension that adds custom rules for analyzing exceptions. It helps catch improper throwing/catching, missing @throws annotations, and other exception-related issues to improve correctness and maintainability in PHP codebases. | 109 | 111 | 10 | 5K | 8 | 32.1 | 29.7 | — | 4 years ago | |
| permafrost-dev/php-code-search | PHP library for searching code across projects and repositories. Provides fast, programmable text/pattern queries with useful match context and filtering, making it easier to locate symbols, usages, or snippets during audits, refactors, and CI tooling. | 27 | — | 0 | — | 0 | 20.2 | — | MIT | 1 year ago | |
| pestphp/pest-plugin-mutate | Pest Plugin Mutate brings mutation testing to Pest, helping you gauge test suite effectiveness by introducing small code changes and checking whether tests catch them. Ideal for strengthening coverage and confidence in your PHP applications. | 40 | 40 | 6 | 3M | 0 | 22.4 | 66.4 | MIT | 1 year ago | |
| phpdocumentor/phpdocumentor | phpDocumentor generates comprehensive PHP documentation from source code and DocBlocks. It produces API docs, UML diagrams, and parses Markdown/ReStructuredText, with tooling to embed API references into narrative docs to keep documentation in sync. | 4,319 | 4,390 | 640 | 15K | 160 | 85.6 | 43.6 | MIT | 4 months ago | |
| phpdocumentor/reflection | PHPDoc reflection library used by phpDocumentor to parse docblocks and reflect types, namespaces, and symbols from PHP code. Helps tools extract documentation and metadata without executing code, powering static analysis and doc generation workflows. | 125 | 126 | 59 | 2M | 11 | 34.5 | 69.0 | MIT | 4 months ago | |
| phploc/phploc | phploc is a command-line tool for quickly measuring the size of a PHP project, reporting LOC/NCLOC/CLOC, LLOC, and counts of classes, traits, methods, functions, and cyclomatic complexity. Archived: no longer maintained. | 2,348 | 2,378 | 162 | 107K | 0 | 8.3 | 16.3 | BSD-3-Clause | — | |
| phpro/grumphp | GrumPHP helps you enforce code quality on every git commit. Configure tasks like PHPStan, PHPUnit, PHPCS, and more to run as pre-commit hooks, failing fast on issues so your team keeps a consistent, clean, and build-ready codebase. | 4,280 | 4,287 | 447 | 340K | 6 | 65.6 | 33.7 | MIT | 2 months ago | |
| phpstan/phpdoc-parser | PHPDoc Parser for PHPStan that parses, represents, and modifies PHPDoc blocks as an AST. Supports rich type syntax (unions, generics, shapes, callables, conditional types), constant expressions, and Doctrine annotations, with full API reference for nodes. | 1,522 | 1,525 | 71 | 9M | 8 | 42.0 | 68.6 | MIT | 2 months ago | |
| phpstan/phpstan-phpunit | PHPStan extension for PHPUnit: improves type inference for mocks (intersection types for createMock/getMock), understands Foo|MockObject phpDocs, adds early-terminating methods to avoid undefined vars, and refines assert() types. Optional strict rules catch improper assertion usage. | 527 | 531 | 56 | 3M | 33 | 44.1 | 78.9 | MIT | 1 month ago | |
| phpstan/phpstan-webmozart-assert | PHPStan extension for webmozart/assert that teaches PHPStan how Assert::* calls narrow types. Supports many assertions (including nullOr*/all*) so values become non-null, specific scalars, instances, arrays, etc. after validation, improving static analysis accuracy. | 183 | 183 | 33 | 633K | 6 | 32.7 | 60.2 | MIT | 1 year ago | |
| phpunit/php-code-coverage | phpunit/php-code-coverage collects, processes, and renders PHP code coverage data. Use it to start/stop coverage during tests, filter included files, and generate reports such as OpenClover XML from live runs or serialized coverage data. | 8,932 | 8,978 | 386 | 13M | 20 | 72.4 | 59.8 | BSD-3-Clause | 6 days ago | |
| pmjones/php-styler | PHP-Styler is a PHP 8.1+ code formatter that completely rewrites formatting for consistent spacing, indentation, and line wrapping. It preserves program logic and comments, aims for diff-friendly output, and supports customizable styles, rules, and parses via a token-based pipeline. | 39 | 39 | 2 | 52 | 0 | 26.9 | 5.9 | MIT | 1 day ago | |
| psalm/plugin-laravel | Psalm plugin for Laravel that adds deep framework-aware static analysis plus taint-based security scanning. Detects SQL injection, XSS, SSRF, shell injection, file traversal, and open redirects by tracking user input flows across functions and services. | 327 | 327 | 75 | 99K | 28 | 41.8 | 53.2 | MIT | 1 day ago | |
| psy/psysh | PsySH is an interactive PHP REPL and runtime developer console for debugging and exploring code. Inspect variables, run snippets, and get contextual help in a powerful shell, with configuration, themes, and integrations available. | 9,827 | 9,873 | 317 | 11M | 6 | 66.2 | 53.4 | MIT | 2 weeks ago | |
| rector/swiss-knife | Swiss Knife for upgrades: CLI tools to keep codebases clean and PSR-4 compliant. Detect git merge conflicts and commented-out code, find multiple classes per file, fix namespaces to match PSR-4 roots, and finalize classes without children (with skips for mocks/files). | 202 | 200 | 18 | 118K | 0 | 22.0 | 44.9 | MIT | 7 months ago | |
| rector/type-perfect | Type Perfect adds 10 PHPStan rules to tighten type declarations: replace empty/isset checks with instanceof for precise narrowing, prefer explicit getters over magic array access, and enforce interface signatures. Easy to enable even on legacy code; improves reliability fast. | 102 | 101 | 7 | 319K | 0 | 0.7 | 48.2 | MIT | — | |
| roave/backward-compatibility-check | CLI tool to detect backward-compatibility breaks between two versions of a PHP library. Compares the last SemVer git tag to current HEAD (or chosen refs) and fails CI on API breaks. Install via Composer or run with Docker. | 595 | 595 | 66 | 65K | 37 | 45.8 | 49.6 | MIT | 2 weeks ago | |
| roave/better-reflection | Reflection library enhancing PHP’s built-in API with advanced features like AST extraction, type declarations, and non-loaded class reflection. Ideal for static analysis tools but not for runtime performance-critical tasks. Supports PHP 7+ and provides deeper type metadata than native reflection. | 1,237 | 1,241 | 138 | 230K | 14 | 44.0 | 43.1 | MIT | 1 day ago | |
| sebastian/complexity | Compute code complexity metrics for PHP units (functions, methods, classes). sebastian/complexity provides programmatic analysis useful for static analysis tools, quality gates, and CI reporting; install via Composer for project or dev-only use. | 1,252 | 1,255 | 10 | 12M | 1 | 27.6 | 64.7 | BSD-3-Clause | 2 months ago | |
| sebastian/lines-of-code | sebastian/lines-of-code is a lightweight PHP library for counting lines of code in PHP source files. Useful for reporting, metrics, and tooling, it can be installed via Composer as a runtime or dev dependency. | 1,170 | 1,172 | 8 | 12M | 2 | 27.4 | 65.0 | BSD-3-Clause | 2 months ago | |
| shalvah/upgrader | Automate upgrading users’ PHP library config files when releasing new versions. Compare old vs sample new config, apply moves/renames and ignored keys, support dot notation, preview changes with dry-run, and create a .bak backup before upgrading. | 15 | 15 | 0 | 548K | 1 | 24.1 | 65.0 | MIT | 2 years ago | |
| shipmonk/coverage-guard | Enforce PHP code coverage in CI by targeting specific core methods/blocks instead of overall %. Legacy-friendly: enforce only new/changed code via git patch. Lightweight (nikic/php-parser), extensible rules, easy CLI to check PHPUnit Clover reports. | 54 | 54 | 0 | 8K | 0 | 21.4 | 35.5 | MIT | 3 months ago | |
| shipmonk/dead-code-detector | PHPStan extension that finds and can auto-remove unused PHP code: dead methods/properties/constants/enum cases, dead cycles, transitive dead members, and even dead tested code. Supports popular libs like Symfony and Doctrine with customizable usage providers. | 377 | 361 | 20 | 360K | 5 | 33.7 | 49.5 | — | 20 hours ago | |
| sidz/phpstan-rules | Custom PHPStan rules aimed at Laravel projects, helping catch common mistakes and enforce best practices. Adds extra static analysis checks tailored to typical framework patterns, improving code quality, consistency, and confidence during refactors. | 31 | 31 | 4 | 19K | 0 | 24.8 | 45.1 | MIT | 8 months ago | |
| spatie/7to5 | Abandoned. Converts PHP 7.0 code to PHP 5, useful when developing on PHP 7 but deploying to PHP 5. Provides a CLI to convert entire directories and rewrites features like anonymous classes, type hints, return types, and null coalescing. | 177 | 175 | 33 | 36 | 0 | 12.6 | 1.3 | MIT | 7 years ago | |
| spiral/framework | Spiral Framework is a high-performance, long-running full-stack PHP framework with 60+ PSR-compatible components. Powered by RoadRunner for resident-memory apps, it supports GRPC, queues, WebSockets, background workers, and more. | 2,039 | 2,042 | 90 | 174K | 42 | 55.0 | 50.4 | MIT | 1 month ago | |
| ssch/typo3-rector | Automated upgrades and refactoring for TYPO3 sites and extensions using Rector. Apply version migrations, remove deprecations, and modernize code safely in development with configurable rule sets for TYPO3 7–12+. | 259 | 260 | 66 | 110K | 31 | 42.0 | 55.4 | MIT | 4 weeks ago | |
| stillat/proteus | Proteus provides a flexible, developer-friendly way to build and run dynamic “protean” objects in Laravel/PHP. Define behaviors, properties, and runtime composition with a clean API, useful for prototyping, extensible domain models, and data-driven object structures. | 17 | — | 1 | — | 1 | 20.3 | — | MIT | 3 weeks ago | |
| symfony/maker-bundle | Symfony Maker Bundle accelerates Symfony development by generating boilerplate code via maker commands. Quickly create controllers, entities, forms, tests, security, and more, following best practices, so you can focus on building features instead of scaffolding. | 3,396 | — | 429 | — | 135 | 69.9 | 31.8 | MIT | 3 weeks ago | |
| symfony/translation | Symfony Translation component for internationalizing PHP apps: create a Translator, load messages from arrays, files, or other loaders, handle locales and domains, and translate strings at runtime. Part of the Symfony ecosystem and works well standalone. | 6,618 | 6,658 | 90 | 14M | 0 | 57.3 | 53.8 | MIT | 1 week ago | |
| symplify/phpstan-rules | Extra PHPStan rules by Symplify to catch bugs, improve code quality, and enforce consistent conventions. Easy to install and configure, with a broad set of checks for Symfony/Laravel and modern PHP features to keep your codebase clean. | 262 | 261 | 33 | 501K | 3 | 24.2 | 53.8 | MIT | 11 months ago | |
| ta-tikoma/phpunit-architecture-test | Architecture testing for PHP projects using PHPUnit. Define and enforce dependency, namespace, and layer rules (e.g., no forbidden coupling, keep domains isolated) and catch architectural violations in CI with fast, expressive tests. | 107 | — | 12 | — | 1 | 1.0 | — | MIT | — | |
| thecodingmachine/phpstan-safe-rule | PHPStan rule set that flags calls to “unsafe” PHP functions that can return false on failure and suggests using the thecodingmachine/safe equivalents that throw exceptions, helping enforce safer, exception-based error handling in your codebase. | 62 | 62 | 25 | 194K | 2 | 26.3 | 56.7 | — | 4 months ago | |
| tightenco/tlint | A linter and auto-formatter for Laravel and Tailwind projects. Tlint enforces Tighten-style conventions with configurable rules, catches common issues, and can automatically fix code style problems for consistent, clean PHP and Blade code. | 527 | 527 | 33 | 24K | 1 | 28.0 | 27.2 | MIT | 1 year ago | |
| tomasvotruba/class-leak | Finds class leaks in PHP apps: detects classes unintentionally pulled into your runtime via autoloading, service container or tests. Helps trim dependencies, speed up CI, and keep boundaries clean by reporting unexpected class usage with clear, actionable output. | 135 | 135 | 7 | 92K | 1 | 1.0 | 39.0 | MIT | — | |
| tomasvotruba/unused-public | PHPStan extension that finds unused public methods, properties, and constants by scanning calls across your codebase. Helps clean up dead APIs or spot members that should be private/protected. Supports gradual adoption via allowed % thresholds and excluding template-used methods. | 192 | 193 | 15 | 107K | 0 | 1.4 | 37.9 | MIT | — | |
| vimeo/psalm | Psalm is a powerful PHP static analysis tool that finds type errors and bugs before runtime. Install via Composer, configure for your codebase, and run it locally or try the live demo at psalm.dev. Docs and integrations available for teams and CI. | 5,824 | 5,839 | 699 | 1M | 1,886 | 90.5 | 66.6 | MIT | 2 weeks ago | |
| wyrihaximus/phpstan-react | PHPStan extension for ReactPHP projects that flags blocking PHP functions (e.g., file_get_contents, fopen, fread) and suggests async React alternatives from react/filesystem, react/socket, and react/stream. Include the provided ruleset to enforce non-blocking code. | 2 | 2 | 0 | 8K | 2 | 21.0 | 55.8 | MIT | 11 months ago | |
| zircote/swagger-php | swagger-php generates OpenAPI 3.0/3.1/3.2 documentation from your PHP 8.2+ code using attributes (preferred) or optional Doctrine annotations. Use it via CLI or programmatically, with helpful error reporting and a full documentation site. | 5,287 | 5,372 | 947 | 3M | 13 | 73.1 | 51.2 | Apache-2.0 | 1 month ago |
How can I help you explore Laravel packages today?