This library provides a flexible metadata structure for PHP classes (including methods, properties, and annotations). The metadata is extracted from the PHP source code of the class.
You will be able to register feature analyzers (shipped with this library, or your own) that extend the metadata based on reflection, or the provided DocBlock annotations.
Currently these additional feature analyzers are provided:
- TypedProperties (including union types)
- VirtualMethods
This library is based on schmittjoh/metadata. It reads DocBlock annotations using scaleupstack/annotations.
Use Composer to install this library:
$ composer require scaleupstack/metadata
This library is not yet documented. But perhaps scaleupstack/easy-object can be helpful to find out how to use it.
TODO: to be done
This library has been developed with a special intention in mind. It will evolve in the context of [scaeupstack/easy-object].
If you are missing anything, feel free to contact me, or create a pull request.
Thanks that you want to contribute to ScaleUpStack/Metadata.
-
Report any bugs or issues on the issue tracker.
-
Get the source code from the Git repository.
Please check LICENSE.md in the root dir of this package.
ScaleUpVentures Gmbh, Germany
Thomas Nunninger [email protected]
www.scaleupventures.com