sebastian/object-reflector
sebastian/object-reflector lets you reflect an object's properties, including inherited, private, and protected ones. Install it via Composer to inspect and access object state that PHP's default reflection utilities don't easily expose.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| romanzipp/laravel-dto | 0.87 | A lightweight base class for building Data Transfer Objects in Laravel. Define typed properties, cast nested DTOs and collections, and hydrate from arrays or requests, giving your app predictable, self-validating data objects instead of loose arrays. | 11 | 11 | 2 | 125 | 1 | 0.3 | 14.7 | MIT | — | |
| rikudou/reflection-file | 0.87 | A PHP library that adds file-level reflection, making it easy to inspect classes, interfaces, traits, functions, and constants declared in a source file. Useful for tooling, static analysis, and package discovery without manually requiring files. | 0 | 0 | 1 | 63 | 0 | 0.0 | 25.0 | WTFPL | 7 years ago | |
| technically/callable-reflection | 0.87 | A PHP package for reflecting any callable—closures, invokable objects, function names, and array callables—through a single, consistent API. Inspect parameters, types, defaults, and return types to power dependency injection, routing, and event handling in Laravel or plain PHP. | 9 | 9 | 2 | 4K | 0 | 10.9 | 39.1 | MIT | 5 months ago | |
| phpdocumentor/reflection-common | 0.87 | ReflectionCommon provides the shared interfaces and base classes behind phpDocumentor's reflection layer, defining common contracts for elements, types, and locations used across the ecosystem. A lightweight, dependency-free foundation for building reflection-based tooling in PHP. | 9,031 | 9,044 | 22 | 12M | 0 | 47.6 | 50.4 | MIT | 1 month ago | |
| sebastian/peek-and-poke | 0.87 | sebastian/peek-and-poke is a small PHP utility that uses reflection to peek at and poke into objects. It lets you read and write private and protected properties, making it handy for tests that need to inspect or set up object state without changing production code. | 36 | 34 | 8 | 117 | 1 | 0.3 | 6.0 | NOASSERTION | — | |
| nunomaduro/yorn | 0.87 | Yorn is a small, focused Laravel package from Nuno Maduro (Pest, Larastan). Install it with Composer and it slots neatly into an existing app, with a clean API, no heavy configuration, and the framework-native feel his packages are known for. | 144 | 146 | 6 | 0 | 2 | 1.3 | — | MIT | — | |
| gracious/doctrine-timestamp | 0.86 | gracious/doctrine-timestamp provides automatic timestamp management for Doctrine entities in Laravel. It sets created_at and updated_at values on insert and update, reducing boilerplate and keeping audit fields consistent across your application. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | MIT | 5 years ago | |
| pisac/pisac | 0.86 | Pisac is a lightweight Laravel/PHP package that provides a simple, extensible writer-style toolkit for generating and managing application content, making it easy to add text-driven features with clean, Composer-ready integration. | 10 | 10 | 0 | 0 | 0 | 0.4 | — | MIT | 5 years ago | |
| mpociot/reflection-docblock | 0.86 | Parse and work with PHP DocBlocks via reflection. mpociot/reflection-docblock extracts summaries, descriptions, tags, params, and return types from classes, methods, and properties, making it easy to generate documentation or build tooling that relies on DocBlock metadata. | 85 | 85 | 4 | 1M | 2 | 1.5 | 55.1 | MIT | 10 years ago | |
| phpstan/phpstan-phpunit | 0.85 | PHPStan extension for PHPUnit that improves mock object and assert type inference, supports MockBuilder and phpDoc intersections, and adds optional strict rules for more precise, framework-aware static analysis. | 546 | 550 | 58 | 6M | 34 | 44.3 | 79.3 | MIT | 1 month ago | |
| robiningelbrecht/phpunit-pretty-print | 0.85 | A PHPUnit result printer that transforms default test output into clean, colorful, readable reports. See progress, failures, and timing at a glance, with less noise and more useful detail during every test run. Easy to install and configure via phpunit.xml. | 77 | — | 2 | — | 1 | 8.4 | — | MIT | 7 months ago |
|
| yoanm/php-unit-extended | 0.85 | A PHPUnit extension for PHP that adds extra test helpers and assertions, reducing boilerplate and making unit tests clearer and easier to maintain alongside PHPUnit's built-in features. | 0 | 0 | 0 | 68 | 0 | 0.1 | 25.4 | MIT | 3 years ago | |
| goaop/parser-reflection | 0.85 | Parser Reflection brings PHP's Reflection API to static analysis: parse source files into an AST and introspect classes, methods, and properties without autoloading, including, or executing code. Drop-in compatible with native Reflection classes for analyzers, generators, and IDE tooling. | 101 | 101 | 50 | 30K | 4 | 27.1 | 40.7 | MIT | 4 days ago | |
| php-cs-fixer/accessible-object | 0.85 | AccessibleObject is a small PHP utility for reading and writing private or protected object properties and invoking non-public methods through a simple wrapper. It helps tests and tooling inspect internals without writing reflection boilerplate. | 11 | 11 | 1 | 26K | 0 | 0.1 | 46.1 | NOASSERTION | 1 year ago | |
| mnapoli/phpunit-easymock | 0.85 | A lightweight bridge between PHPUnit and EasyMock for PHP. Quickly create, replay, and verify mocks from your test cases with minimal boilerplate, helping you write clear unit tests using the familiar EasyMock-style workflow. | 38 | 38 | 4 | 1K | 0 | 4.8 | 20.6 | MIT | 1 year ago | |
| sajadsdi/php-reflection | 0.85 | 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 | |
| illuminate/reflection | 0.85 | Illuminate\Reflection wraps PHP's native ReflectionClass with Laravel-specific helpers for inspecting methods, properties, traits, attributes, and doc comments. It underpins the service container, route model binding, and much of the framework's internal introspection. | 34,987 | 37 | 12,028 | 1M | 55 | 78.2 | 58.1 | MIT | 3 days ago | |
| webignition/object-reflector | 0.85 | A small PHP utility that wraps reflection for objects, making it easy to inspect properties and methods, including non-public ones, without verbose ReflectionClass boilerplate. Handy for testing, debugging, and working with objects whose internals you need to read or modify. | 1 | — | 0 | — | 0 | 0.2 | — | MIT | 5 years ago |
|
| phpunit/phpunit-skeleton-generator | 0.85 | PHPUnit Skeleton Generator creates skeleton test classes from existing production code and skeleton class stubs from test cases, helping PHP developers bootstrap PHPUnit tests quickly with less boilerplate. | 0 | 160 | — | 29 | — | 0.0 | 20.4 | — | — | |
| suin/php-expose | 0.85 | Expose helps PHPUnit tests access private/protected properties and methods in PHP objects. Use a simple fluent API to set non-public attributes and call hidden methods without changing production code. Requires PHP 5.3+ and installs via Composer. | 5 | 5 | 1 | 84 | 0 | 0.1 | 16.2 | — | — |
How can I help you explore Laravel packages today?