spatie/php-structure-discoverer
Automatically discover classes, interfaces, traits, and other PHP structures in a codebase. Scans files, resolves namespaces, and returns a structured overview you can use for tooling, analysis, or building package features without manual registration.
|
Package
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 | |
| spatie/laravel-data | Define rich, typed data objects once and use them for requests, validation, API resources/transformers, and TypeScript definitions. Create from arrays/requests/models, apply rules automatically, and transform only what’s needed with lazy properties. | 1,720 | 1,726 | 277 | 2M | 13 | 51.1 | 55.8 | MIT | 6 days ago | |
| spatie/laravel-model-states | Add robust state behavior to Laravel Eloquent models using the state pattern and state machines. Represent each state as a class, cast states transparently to/from the database, and define clear, safe transitions with configurable state logic. | 1,277 | 1,277 | 107 | 275K | 0 | 39.2 | 37.9 | MIT | 1 month ago | |
| spatie/laravel-model-states | Add robust state behavior to Laravel Eloquent models using the state pattern and state machines. Represent each state as a class, cast states transparently to/from the database, and define clear, safe transitions with configurable state logic. | 1,277 | 1,277 | 107 | 275K | 0 | 39.2 | 37.9 | MIT | 1 month 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 |
How can I help you explore Laravel packages today?