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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| andreaselia/laravel-api-to-postman | Generate a Postman collection automatically from your Laravel API routes. Export to storage/app with an artisan command, configurable output, optional FormRequest scaffolding and rules, and support for Bearer tokens or Basic Auth for routes behind auth middleware. | 1,029 | 1,030 | 106 | 14K | 0 | 37.6 | 19.3 | MIT | 3 weeks 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 | |
| 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 | 4 months 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 | |
| jms/serializer | Powerful PHP serializer/deserializer for complex object graphs, with JSON/XML support, circular reference handling, rich exclusion strategies, versioning, and built-in type handlers. Configurable via annotations, YAML, or XML; integrates with Doctrine ORM. | 2,344 | 2,408 | 589 | 2M | 134 | 76.0 | 74.7 | MIT | 3 weeks 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 | |
| laravel/wayfinder | Zero‑friction Laravel → TypeScript bridge. Wayfinder auto‑generates fully typed, importable TS functions for your routes and controller actions, letting you call endpoints like normal functions—no hardcoded URLs, parameter guessing, or manual syncing. | 1,673 | 1,672 | 97 | 1M | 42 | 49.4 | 63.6 | MIT | 1 day ago | |
| phpdocumentor/reflection-docblock | Parse and reflect PHPDoc DocBlocks with a factory-based API. Fully compatible with the PHPDoc standard, it extracts summaries, descriptions, and tags, enabling libraries to read documentation metadata and build annotation-like features from doc comments. | 9,386 | 9,415 | 134 | 8M | 10 | 62.0 | 52.2 | MIT | 3 weeks 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,185 | 9,196 | 50 | 9M | 3 | 56.8 | 51.6 | MIT | 3 months ago | |
| prism-php/prism | Prism is a Laravel package for integrating LLMs with a fluent API for text generation, multi-step conversations, and tool usage across multiple AI providers—letting you build AI features without dealing with low-level provider details. | 2,340 | 2,329 | 294 | 821K | 41 | 68.2 | 73.9 | MIT | 2 weeks 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 | 324K | 0 | 22.4 | 65.0 | MIT | 1 month ago | |
| slevomat/coding-standard | — | 1,480 | 1,489 | 194 | 3M | 91 | 62.2 | 81.4 | MIT | 2 weeks 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 | 10.7 | — | MIT | 2 years ago | |
| spatie/typescript-transformer | Convert your PHP and Laravel types into TypeScript automatically. spatie/typescript-transformer scans classes, enums, and DTOs, then generates matching TS definitions to keep front-end types in sync with your backend and reduce duplication. | 372 | — | 54 | — | 3 | 24.5 | 1.8 | MIT | 3 weeks ago | |
| symfony/framework-bundle | FrameworkBundle integrates Symfony components into the full-stack Symfony framework, providing core wiring for services, configuration, routing, controllers, and more. Part of the main Symfony repository; see docs for contributing, issues, and PRs. | 3,572 | 3,590 | 123 | 5M | 0 | 51.6 | 51.0 | MIT | 1 week ago | |
| symfony/json-streamer | Symfony JsonStreamer reads and writes data structures to and from JSON streams efficiently. Ideal for streaming large JSON payloads with low memory usage, integrating with Symfony Serializer to parse or generate JSON incrementally. | 14 | 14 | 1 | 71K | 0 | 28.5 | 59.7 | MIT | 1 week ago | |
| symfony/property-info | Symfony PropertyInfo component extracts metadata about PHP class properties—types, access, docs, and more—by reading popular sources like PHPDoc, reflection, and other metadata providers. Useful for serializers, validators, and API tooling. | 2,229 | 2,232 | 13 | 6M | 0 | 42.6 | 55.9 | MIT | 1 week ago | |
| symfony/serializer | Symfony Serializer component for converting objects and complex data structures to/from arrays, JSON, XML and more. Supports object graphs, custom normalizers/encoders, and flexible context options for reliable serialization and deserialization. | 2,546 | 2,574 | 76 | 6M | 0 | 44.9 | 55.2 | MIT | 1 week ago | |
| symfony/type-info | Symfony TypeInfo extracts and normalizes PHP type information. Resolve types from reflections or strings, build complex types via factories (nullable, list, generic, enum), cast to readable strings, and query identifiers/conditions for safer tooling and analysis. | 196 | 197 | 4 | 4M | 0 | 31.9 | 65.0 | 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 | |
| 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 | 3 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 | |
| ylsideas/feature-flags | Extendable Laravel feature flags (toggles) for safer deployments. Check flags in code, routes, Blade, validation, and task scheduling. Integrates cleanly with your app and supports dashboards like Flagfox for managing flags. | 621 | 620 | 39 | 22K | 0 | 32.5 | 25.5 | MIT | 10 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?