https://github.com/kb-web-development/inspector
PHP Reflection API classes Inspector - Project
https://github.com/kb-web-development/inspector
Last synced: about 2 months ago
JSON representation
PHP Reflection API classes Inspector - Project
- Host: GitHub
- URL: https://github.com/kb-web-development/inspector
- Owner: KB-WEB-DEVELOPMENT
- Created: 2024-12-18T16:25:36.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-03-15T09:32:48.000Z (3 months ago)
- Last Synced: 2025-04-16T21:02:06.740Z (about 2 months ago)
- Language: PHP
- Size: 170 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Table of contents
1. [**Project Description**](#description)
2. [**Installation**](#installation)
3. [**Usage**](#usage)
4. [**License**](#license)(Ongoing work)
Project to explore PHP Reflection API classes.
**https://www.php.net/manual/en/book.reflection.php**
The package tries to determine if a case-insensitive string entered by a user matches one or many of the following:
1. An existing abstract class name
2. An existing attribute name
3. An existing constant name
4. An existing Enum name
5. An existing Enum case name
6. An existing Enum backing type string value
7. An existing ReflectionExtension object name
8. The name of an existing extension which defines one of PHP API Reflection classes
9. The name of any existing user-defined instantiable class
10. An existing interface name
11. The name of an existing iterable class
12. An existing method name
13. An existing namespace name
14. An existing method parameter name
15. An existing class property name
16. An existing trait alias name
17. An existing trait name
18. An array named key present in any existing one-dimensional associative array
19. An array string value present in any existing one-dimensional associative arrayAll the classes as well as some of the methods used in the package:

1. Open Git Bash.
2. Change the current working directory to the location where you want the cloned directory.
3. Type: `git clone https://github.com/KB-WEB-DEVELOPMENT/inspector`
4. Type: `composer install`
All your classes and associative arrays should be put in the src/Project folder:

```
```
The MIT License (MIT)
Copyright (c) <2024> Kâmi Barut-Wanayo
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.