raphhh/trex-reflection
Lightweight PHP reflection helper focused on analyzing types, classes and members with a cleaner API than native Reflection. Great for tooling, static analysis, and code generation tasks—extract signatures, docblocks, visibility, and metadata with minimal boilerplate.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| illuminate/reflection | 0.86 | Illuminate Reflection provides lightweight helpers around PHP’s Reflection API, used by Laravel to inspect classes, methods, and parameters. It supports resolving type information and attributes to power features like container autowiring, routing, and validation. | 37 | 37 | 2 | 778K | 0 | 0.3 | 55.3 | MIT | — | |
| sajadsdi/php-reflection | 0.83 | Lightweight wrapper around PHP’s built-in Reflection API. Inspect classes by name or instance and quickly fetch ReflectionClass plus lists of properties, methods, and constants. Simple Reflections helper for common reflection tasks. | 1 | 1 | 0 | 0 | 0 | 0.3 | — | MIT | 2 years ago | |
| kkszymanowski/traitor | 0.81 | 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 | 143K | 1 | 3.5 | 41.9 | MIT | 2 years ago | |
| fsi/reflection | 0.81 | Optimized Reflection for PHP 5.3 that caches ReflectionClass/Method/Property objects via factory() so they’re never created twice. Returned methods/properties are pre-set accessible for private/protected access; some uncached operations throw exceptions. | 7 | 8 | 3 | 437 | 1 | 0.2 | 24.1 | MIT | — | |
| roave/better-reflection | 0.81 | Enhanced PHP reflection for static analysis: reflect classes without loading them, from PHP code strings or closures, extract AST from functions/methods, and read type declarations and docblocks. Feature-rich but slower than native reflection. | 1,245 | 1,249 | 137 | 584K | 14 | 40.0 | 47.8 | MIT | 2 months ago | |
| phpdocumentor/reflection-common | 0.81 | Shared building blocks for phpDocumentor’s reflection ecosystem. Provides common value objects and utilities used by reflection packages, helping model PHP code elements consistently for parsing, analysis, and documentation tooling. | 9,045 | 9,065 | 22 | 10M | 0 | 29.3 | 42.5 | MIT | 6 years ago | |
| laragraph/utils | 0.80 | Laravel utilities for building GraphQL servers: shared primitives and helpers used by GraphQL packages. Install via Composer and use as a lightweight foundation for SDL-first (Lighthouse) or code-first (graphql-laravel) setups. | 22 | 22 | 8 | 562K | 0 | 17.6 | 61.3 | MIT | 4 months ago | |
| typhoon/reflection | 0.80 | 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 | 1 year ago | |
| brick/reflection | 0.79 | Low-level PHP 8.1+ helpers extending native reflection. ReflectionTools can list all instance methods/properties across inheritance (including private parents), get class hierarchies, and create reflections for any callable with meaningful function names. | 23 | 24 | 3 | 7K | 1 | 18.7 | 37.8 | MIT | 4 months ago | |
| andrewsville/php-token-reflection | 0.79 | PHP library for reflecting and analyzing PHP token streams. Parse source code into tokens and inspect structures like classes, functions, namespaces, and docblocks—useful for static analysis, code generation, and tooling without executing the code. | 190 | 190 | 43 | 9K | 17 | 4.0 | 22.0 | NOASSERTION | — | |
| skagarwal/reflection | 0.73 | — | 6 | 7 | 0 | 4 | 0 | 0.9 | 1.9 | MIT | 11 years ago | |
| ajgl/twig-extensions | 0.63 | — | 4 | 4 | 0 | 0 | 0 | 0.1 | — | MIT | — | |
| illuminate/translation | 0.63 | Illuminate Translation is Laravel’s translation engine, providing a Translator with loaders, language files, and fallback locales to resolve strings and pluralization. Supports namespaces, JSON translations, and runtime locale switching for multilingual PHP apps. | 69 | 73 | 11 | 497K | 0 | 0.7 | 53.2 | MIT | — | |
| illuminate/http | 0.62 | Illuminate Http provides Laravel’s HTTP layer: a rich Request and Response API, input and file handling, headers/cookies, sessions, redirects, and helpers for working with Symfony HTTP components. Useful for building middleware and controllers cleanly. | 119 | 132 | 38 | 618K | 0 | 1.8 | 51.3 | MIT | — | |
| illuminate/routing | 0.62 | Illuminate Routing provides Laravel’s URL generation and request routing layer, including route definitions, controllers, middleware, parameter binding, route caching, and named routes. Use it to match HTTP requests to actions with flexible, expressive APIs. | 123 | 141 | 79 | 173K | 0 | 3.0 | 43.4 | MIT | — | |
| illuminate/config | 0.62 | Illuminate Config is Laravel’s configuration repository. It loads and merges config files, lets you read and set values at runtime, supports environment-based defaults, and provides a consistent API for accessing app settings across services and packages. | 109 | 117 | 11 | 607K | 0 | 0.9 | 51.7 | MIT | — | |
| twig/extensions | 0.61 | — | 1,440 | 1,500 | 269 | 287K | 0 | 7.6 | 22.4 | MIT | — | |
| core23/twig-extensions | 0.61 | Extra Twig extensions and helpers for PHP apps, packaged as a lightweight bundle. Adds convenient filters, functions, and runtime utilities to simplify templates and reduce boilerplate, with straightforward integration into existing Twig environments. | 5 | 3 | 2 | 0 | 3 | 22.7 | 0.4 | MIT | 3 months ago | |
| illuminate/view | 0.61 | Illuminate View is Laravel’s templating and view rendering component. It compiles and renders Blade templates, manages view composers and shared data, supports view discovery, caching, and engines, and integrates cleanly with the rest of the Illuminate framework. | 130 | 141 | 50 | 678K | 0 | 2.2 | 51.3 | MIT | — | |
| derafu/twig | 0.60 | — | 0 | 0 | 0 | 330 | 0 | 0.0 | 34.8 | MIT | — |
How can I help you explore Laravel packages today?