scaleupstack/metadata

Metadata analysis of PHP classes. Can be extended for your needs by feature analyzers. Based on jms/metadata.

v1.1.0 2019-09-07 15:22 UTC

This package is auto-updated.

Last update: 2024-12-08 04:21:55 UTC


README

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.

Installation

Use Composer to install this library:

$ composer require scaleupstack/metadata

Introduction

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

Current State

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.

Contribute

Thanks that you want to contribute to ScaleUpStack/Metadata.

License

Please check LICENSE.md in the root dir of this package.

Copyright

ScaleUpVentures Gmbh, Germany
Thomas Nunninger thomas.nunninger@scaleupventures.com
www.scaleupventures.com