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.
|
Package
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| adriballa/symfony-search-bundle | Symfony bundle that abstracts Elasticsearch: define indexes with two PHP classes, get auto-generated routes for index/document CRUD, validation, and a powerful search API (full-text, filters, sorting, pagination, aggregations). Optional client interfaces for programmatic use. | 10 | 11 | 0 | 0 | 1 | 0.5 | — | MIT | 1 year ago | |
| aequation/aewire | — | 0 | 0 | 0 | 1 | 0 | 0.0 | 4.2 | MIT | — | |
| aequation/labo | Symfony install bundle by Aequation (aequation/labo). Provides installation/setup helpers and bundle scaffolding to streamline configuring a Symfony app and its dependencies during initial project setup. | 1 | 2 | 0 | 1 | 0 | 0.3 | 2.4 | MIT | 2 years ago | |
| andreaselia/laravel-api-to-postman | Auto-generate a Postman collection from your Laravel API routes. Supports Postman schema v2.1, configurable output, bearer token or basic auth for protected routes, and optional scaffolding of FormRequest rules for POST/PUT endpoints. | 1,053 | 1,053 | 110 | 23K | 1 | 29.5 | 21.2 | MIT | 6 months ago | |
| apigen/apigen | ApiGen generates smart, readable API documentation for PHP projects. Modern, easy to use, and supports PHP 8.3 features plus rich phpDoc/ PHPStan types, generics, type aliases, enums, union/intersection types, readonly, and more. | 2,169 | 2,187 | 308 | 2K | 21 | 35.6 | 11.4 | NOASSERTION | 3 years ago | |
| api-platform/core | API Platform Core lets you quickly build hypermedia-driven REST and GraphQL APIs in PHP/Symfony. Supports JSON-LD, Hydra, OpenAPI v2/v3, JSON:API, HAL, and RFC7807. Extensible, high-performance, API-first. | 2,572 | 2,585 | 978 | 1M | 206 | 80.3 | 68.1 | MIT | 2 months ago | |
| api-platform/laravel | — | 58 | 58 | 6 | 18K | 0 | 0.5 | 34.3 | MIT | — | |
| api-platform/metadata | — | 30 | 29 | 1 | 522K | 0 | 0.3 | 55.3 | MIT | — | |
| atournayre/maker-bundle | — | 2 | 2 | 1 | 1 | 0 | 0.6 | 1.7 | — | 2 years ago | |
| bnomei/scip-laravel | — | 0 | 0 | 0 | 835 | 0 | 0.0 | 38.8 | MIT | — | |
| cakephp/cakephp-codesniffer | CakePHP coding standard for PHP_CodeSniffer. Fully PSR-12 compliant plus additional CakePHP-specific sniffs and fixers. Install via Composer and run phpcs with --standard=CakePHP (or use a phpcs.xml) to check and auto-fix your code. | 232 | 238 | 85 | 269K | 4 | 34.3 | 50.9 | MIT | 1 month ago | |
| cmrweb/address-bundle | — | 2 | 2 | 1 | 15 | 0 | 11.6 | 11.6 | MIT | 8 months ago | |
| cmrweb/request-bundle | — | 0 | 0 | 1 | 4 | 0 | 10.5 | 10.5 | MIT | 8 months ago | |
| cmrweb/stripe-bundle | — | 1 | 1 | 0 | 66 | 0 | 9.6 | 19.3 | — | 7 months ago | |
| components-web-app/api-components-bundle | — | 32 | 32 | 8 | 127 | 3 | 1.1 | 9.8 | MIT | — | |
| 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. | 15 | 15 | 13 | 398K | 0 | 17.5 | 59.5 | MIT | 7 months ago | |
| daniil-trukhan/api_platform_payze | — | 0 | 0 | 0 | 0 | 0 | 0.3 | — | — | 3 years ago | |
| dedoc/scramble | Scramble generates up-to-date OpenAPI 3.1 API docs for Laravel automatically from your code—no PHPDoc annotations needed. Adds /docs/api UI and /docs/api.json schema routes (local by default, configurable via gate). | 2,190 | 2,178 | 206 | 2M | 11 | 55.3 | 51.5 | MIT | 1 month 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,998 | 2,991 | 154 | 910K | 27 | 56.9 | 53.7 | MIT | 1 month ago | |
| dmp/rest-bundle | — | 0 | 0 | 0 | 2 | 0 | 17.3 | 7.4 | — | 5 months ago | |
| dragonwize/dw-log-bundle | — | 1 | 1 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| dualmedia/symfony-request-dto-bundle | — | 8 | 8 | 3 | 97 | 2 | 27.9 | 17.0 | MIT | 2 months ago | |
| duc01nguyen/health-check-bundle | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| dunglas/api-bundle | API Platform Core builds hypermedia-driven REST and GraphQL APIs with Symfony. Supports JSON-LD/Hydra, OpenAPI v2/v3, JSON:API, HAL, and Problem Details. Quickly generate powerful, extensible, high-performance APIs. | 2,573 | 2,570 | 977 | 141 | 204 | 80.5 | 31.2 | MIT | 2 months ago | |
| eag/easy-hydrator | — | 1 | 1 | 2 | 1K | 0 | 2.6 | 40.3 | MIT | 11 months ago | |
| echolabsdev/prism | Prism is a Laravel package that simplifies integrating LLMs into your app. Use a fluent API to generate text, manage multi-step conversations, and run tools across multiple AI providers—so you can build AI features without provider-specific complexity. | 2,420 | 2,404 | 310 | 34K | 49 | 61.4 | 48.0 | MIT | 6 months 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 | 12K | 1 | 13.2 | 52.7 | GPL-3.0 | 9 months ago | |
| emreuyguc/structured-mapper | — | 3 | 3 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| 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,687 | 1,687 | 57 | 383K | 11 | 31.1 | 39.5 | MIT | 7 months ago | |
| jms/serializer | Serialize and deserialize complex PHP object graphs to JSON or XML with flexible metadata (annotations, YAML, XML). Handles circular references, exclusion strategies, versioning, dates/intervals, and integrates with Doctrine ORM—ideal for APIs and data interchange. | 2,343 | 2,406 | 590 | 2M | 135 | 67.3 | 69.4 | MIT | 6 months ago | |
| laravel/ranger | Beta Laravel introspection library that scans your codebase to discover routes, models, enums, broadcast events, env vars, and Inertia components. Register callbacks per item or collection and receive rich DTOs as Ranger walks your app. | 65 | 65 | 10 | 52K | 2 | 27.2 | 46.9 | MIT | 4 weeks ago | |
| laravel/surveyor | Laravel Surveyor is a mostly static analysis tool for PHP/Laravel that scans files or classes to extract rich metadata (classes, methods, properties, types, bindings, models) in a structured format for other tools. Beta API; may touch DB for model inspection. | 91 | 89 | 23 | 57K | 4 | 28.5 | 47.4 | — | 4 weeks ago | |
| laravel/wayfinder | Generate fully typed TypeScript functions for your Laravel routes and controller methods. Wayfinder lets your frontend call endpoints like normal imports—no hardcoded URLs or manual param syncing. Works with Vite via @laravel/vite-plugin-wayfinder. | 1,815 | 1,772 | 110 | 2M | 36 | 50.2 | 68.7 | MIT | 1 month ago | |
| lastdragon-ru/lara-asp-serializer | — | 0 | 0 | 0 | 4K | 0 | 0.0 | 50.0 | MIT | — | |
| phparkitect/phparkitect | PHPArkitect enforces architectural rules in PHP projects. Define executable constraints for namespaces, dependencies, layers, and naming conventions to prevent drift, catch violations in CI/IDE, and keep clean architecture over time. | 927 | 925 | 53 | 196K | 27 | 44.4 | 52.1 | MIT | 1 month ago | |
| phpdocumentor/reflection-docblock | PHPDoc-compatible DocBlock parser from phpDocumentor. Use DocBlockFactory to parse doc comments or Reflection objects, extracting summaries, descriptions, and tags for annotations and metadata. Ideal for tooling that reads and interprets PHPDoc blocks. | 9,361 | 9,394 | 136 | 11M | 10 | 54.1 | 53.1 | MIT | 6 months ago | |
| phpdocumentor/type-resolver | Resolves DocBlock types and structural element names per PSR-5. Converts partial class names to fully qualified class names, parses type expressions into value objects, and resolves FQSENs for classes, methods, properties, functions, constants and more. | 9,158 | 9,170 | 51 | 12M | 3 | 44.3 | 49.0 | MIT | 8 months ago | |
| php-stubs/generator | Generate PHP stub files from your codebase for better IDE autocomplete, static analysis, and documentation. php-stubs/generator scans sources and produces lightweight stubs suitable for packages and frameworks, helping consumers get accurate type hints without shipping full sources. | 82 | 82 | 24 | 15K | 3 | 23.8 | 37.1 | MIT | 2 months ago | |
| php-translation/extractor | Extracts translation messages from PHP projects for the php-translation ecosystem. Scans source code and templates to collect translatable strings and generate catalogs, helping keep i18n files in sync across frameworks and custom apps. | 128 | 128 | 37 | 43K | 16 | 33.0 | 46.4 | MIT | 2 months ago | |
| prism-php/prism | Prism is a Laravel package for integrating LLMs with a fluent API. Generate text, run multi-step conversations, and call tools across multiple AI providers, so you can build AI features in your app without wrestling with provider-specific details. | 2,420 | 2,416 | 310 | 680K | 49 | 62.9 | 66.2 | MIT | 6 months ago | |
| radebatz/type-info-extras | Extra type information helpers for radebatz/type-info. Adds additional utilities for describing, inspecting, and working with PHP types, improving reflection-based tooling and type metadata in your projects. | 4 | 5 | 0 | 1M | 0 | 13.1 | 60.4 | MIT | 6 months ago | |
| samuelvi/spreadsheet-translator-core | Core library for spreadsheet-translator: parses and converts spreadsheet files into translation resources. Built for Laravel/PHP workflows, enabling import/export of i18n strings from Excel/CSV with a clean, reusable engine for other adapters and apps. | 2 | 2 | 1 | 617 | 0 | 4.5 | 32.9 | — | 10 months ago | |
| setono/cron-expression-bundle | Symfony bundle integrating dragonmantank/cron-expression. Provides a CronExpression form field and a Doctrine DBAL type to store Cron\CronExpression in entities, making it easy to validate, edit, and persist cron schedules in your app. | 26 | 25 | 10 | 4K | 2 | 12.2 | 31.9 | MIT | 8 months ago | |
| slevomat/coding-standard | — | 1,480 | 1,490 | 192 | 4M | 92 | 62.5 | 81.3 | MIT | 1 month ago | |
| sonata-project/classification-bundle | Symfony bundle providing a classification system for Sonata: categories, tags and collections management with admin integration, persistence support and documentation. Part of the Sonata Project ecosystem. | 91 | 95 | 110 | 12K | 0 | 19.4 | 31.1 | MIT | 9 months ago | |
| sonata-project/doctrine-mongodb-admin-bundle | Symfony bundle that integrates Doctrine MongoDB ODM with SonataAdminBundle, providing admin services, mappers, and datagrid support to manage MongoDB documents via Sonata’s admin UI. Includes docs, CI, and versioned releases. | 64 | 68 | 95 | 7K | 1 | 18.9 | 30.4 | MIT | 9 months ago | |
| sonata-project/exporter | SonataExporter is a lightweight PHP library for exporting data to multiple formats (CSV, XLS, JSON, XML). It provides writers, handlers, and iterators to stream large datasets efficiently and integrate easily into Symfony apps and services. | 441 | 449 | 87 | 187K | 3 | 19.8 | 39.0 | MIT | 9 months ago | |
| sonata-project/formatter-bundle | — | 84 | 86 | 116 | 17K | 0 | 19.7 | 33.8 | MIT | 9 months ago | |
| sonata-project/form-extensions | Additional form types, data transformers, and utilities for Symfony Form via Sonata. Includes date/time and choice helpers, improved widgets, and integration-friendly extensions to speed up building consistent, reusable form components across projects. | 109 | 109 | 28 | 225K | 2 | 17.3 | 53.2 | MIT | 9 months ago | |
| sonata-project/media-bundle | — | 461 | 471 | 479 | 40K | 3 | 33.5 | 31.5 | MIT | 9 months ago | |
| sonata-project/page-bundle | SonataPageBundle adds site and page management to Symfony apps, using a container-based page system and block services. Build and manage pages across multiple sites, integrate with Sonata blocks, and control layout, routing, and page publishing. | 219 | 223 | 204 | 3K | 1 | 29.6 | 21.4 | MIT | 5 months ago | |
| sonata-project/seo-bundle | — | 138 | 145 | 86 | 21K | 1 | 18.8 | 31.8 | MIT | 9 months ago | |
| sonata-project/translation-bundle | — | 77 | 78 | 69 | 19K | 0 | 17.8 | 34.7 | MIT | 9 months ago | |
| sonata-project/user-bundle | — | 346 | 354 | 471 | 38K | 2 | 31.9 | 31.2 | MIT | 9 months ago | |
| spatie/php-type-graph | Build a graph of all PHP types in your project. Analyze classes, interfaces, enums, and their relationships to understand your codebase structure, dependencies, and type usage. Useful for architecture insights, tooling, and visualization (WIP). | 10 | 9 | 4 | 0 | 0 | 0.7 | — | MIT | 2 years ago | |
| spatie/typescript-transformer | Automatically generate TypeScript definitions from your PHP/Laravel code. spatie/typescript-transformer scans classes and types, then outputs .d.ts files so your frontend stays in sync with backend models, DTOs and enums with minimal manual typing. | 400 | 400 | 61 | 634K | 1 | 29.4 | 50.5 | MIT | 3 months ago | |
| spryker/code-sniffer | Spryker Code Sniffer is a PHP_CodeSniffer ruleset for Spryker projects. Enforces Spryker coding standards and best practices, supports automated code style checks in CI, and helps keep code consistent across teams and modules. | 38 | 38 | 12 | 59K | 5 | 32.7 | 54.9 | MIT | 4 weeks ago | |
| symfony/ai-agent | Experimental Symfony AI Agent component for building AI agents on top of the Platform and Store components. Create agents that interact with users, perform tasks, and orchestrate workflows, with optional tool bridges (search, scraping, maps, weather, files). | 32 | 32 | 3 | 133K | 0 | 21.3 | 57.4 | MIT | 1 month ago | |
| symfony/ai-platform | — | 53 | 52 | 13 | 192K | 0 | 22.3 | 57.0 | MIT | 1 month ago | |
| symfony/framework-bundle | Symfony FrameworkBundle tightly integrates Symfony components into the full-stack framework, providing core framework services and configuration. Part of the main Symfony repository; see official docs for contributing, issues, and pull requests. | 3,567 | 3,579 | 122 | 5M | 0 | 56.4 | 51.8 | MIT | 4 weeks ago | |
| symfony/json-streamer | Stream JSON efficiently with Symfony JsonStreamer. Read and write large JSON structures incrementally from streams to reduce memory usage, with powerful helpers for streaming serialization/deserialization and handling big payloads in real time. | 21 | 21 | 1 | 44K | 0 | 30.7 | 53.1 | MIT | 1 month ago | |
| symfony/property-info | Symfony PropertyInfo extracts metadata about PHP class properties (types, visibility, accessors) from multiple sources like reflection, PHPDoc, and serializers. Useful for building API docs, forms, validation, and other tooling that needs reliable property details. | 2,221 | 2,224 | 13 | 9M | 0 | 45.6 | 58.7 | MIT | 4 weeks ago | |
| symfony/serializer | Symfony Serializer component for converting object graphs and data structures to/from arrays and formats like JSON or XML. Supports powerful normalizers/encoders, metadata, naming and type handling—ideal for APIs, messaging, and data interchange. | 2,536 | 2,562 | 80 | 9M | 0 | 49.9 | 57.3 | MIT | 4 weeks ago | |
| symfony/serializer-pack | Symfony Serializer Pack is a Composer pack that installs and configures Symfony’s Serializer component for easy object normalization/denormalization, JSON/XML encoding, and API-friendly data handling. Ideal for Symfony apps needing flexible, extensible serialization. | 1,048 | 1,051 | 6 | 351K | 0 | 6.3 | 34.9 | MIT | 3 years ago | |
| symfony/symfony | Symfony is a robust PHP framework and component library for building web apps and APIs. It offers a mature ecosystem, reusable components, strong tooling, and long-term support, powering everything from small sites to large enterprise platforms. | 31,135 | 31,439 | 9,856 | 268K | 175 | 93.3 | 45.7 | MIT | 4 weeks ago | |
| symfony/type-info | Symfony TypeInfo extracts and models PHP type information from reflections and type strings. Resolve scalars, objects, enums, generics, lists, and nullable types via TypeResolver, inspect identifiers and constraints, and stringify types like Collection. | 201 | 201 | 3 | 8M | 0 | 33.7 | 64.9 | MIT | 4 weeks 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. | 270 | 270 | 30 | 617K | 0 | 24.8 | 54.5 | MIT | 4 weeks ago | |
| typhoon/reflection | Static, fast alternative to PHP’s native Reflection. Reflects code without running or autoloading it, uses lazy loading + caching, and stays compatible with native reflection. Supports Psalm/PHPStan phpDoc types, template resolution, and avoids memory leaks (safe with zend.enable_gc=0). | 40 | 39 | 3 | 3K | 3 | 5.3 | 25.9 | MIT | 2 years ago | |
| typo3/cms-extbase | TYPO3 Extbase framework extension: provides the MVC foundation for TYPO3 CMS extensions, including controllers, domain models, persistence, validation, and property mapping. Used to build structured, maintainable TYPO3 applications and plugins. | 18 | 18 | 4 | 330K | 0 | 0.2 | 55.3 | GPL-2.0 | — | |
| vimeo/psalm | Psalm is a PHP static analysis tool that finds type errors, dead code, and risky patterns before runtime. Add it to your CI to improve code quality, enforce stricter typing, and catch bugs early in applications and libraries. | 5,885 | 5,897 | 707 | 2M | 1,932 | 83.8 | 63.4 | MIT | 5 months ago | |
| wyrihaximus/phpstan-no-safe | — | 0 | 0 | 0 | 165K | 1 | 19.9 | 64.9 | MIT | 1 month 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 | 79K | 2 | 1.3 | 56.3 | MIT | 1 year ago | |
| ylsideas/feature-flags | Extensible feature flags for Laravel to safely toggle code and features. Manage flags in application logic, routes, Blade views, scheduler tasks, and validation rules to support continuous integration and controlled rollouts. | 623 | 625 | 39 | 22K | 0 | 27.8 | 24.4 | MIT | 4 months ago | |
| zircote/swagger-php | Generate OpenAPI 3.0/3.1/3.2 specs from PHP 8.2+ code using attributes (preferred) or legacy Doctrine annotations. Provides a CLI and programmatic API, extracts from phpdoc, and reports errors with context for REST API documentation. | 5,306 | 5,387 | 936 | 4M | 13 | 77.4 | 52.5 | Apache-2.0 | 4 weeks ago |
How can I help you explore Laravel packages today?