https://github.com/sebastianbergmann/object-reflector
Allows reflection of object attributes, including inherited and non-public ones
https://github.com/sebastianbergmann/object-reflector
Last synced: 2 days ago
JSON representation
Allows reflection of object attributes, including inherited and non-public ones
- Host: GitHub
- URL: https://github.com/sebastianbergmann/object-reflector
- Owner: sebastianbergmann
- License: bsd-3-clause
- Created: 2017-03-12T15:02:28.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2025-04-13T07:27:44.000Z (about 1 month ago)
- Last Synced: 2025-05-13T11:07:46.275Z (2 days ago)
- Language: PHP
- Homepage:
- Size: 77 MB
- Stars: 6,273
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
- php-awesome - Object Reflector - 对象反射 (类库 / 未归类)
README
[](https://packagist.org/packages/sebastian/object-reflector)
[](https://github.com/sebastianbergmann/object-reflector/actions)
[](https://codecov.io/gh/sebastianbergmann/object-reflector)# sebastian/object-reflector
Allows reflection of object properties, including inherited and private as well as protected ones.
## Installation
You can add this library as a local, per-project dependency to your project using [Composer](https://getcomposer.org/):
```
composer require sebastian/object-reflector
```If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:
```
composer require --dev sebastian/object-reflector
```