PHPackages                             runopencode/metadata - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. runopencode/metadata

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

runopencode/metadata
====================

Utility to read/search for class/property/method metadata (attributes).

0.1.50(1mo ago)02351MITPHPPHP &gt;=8.4

Since Oct 8Pushed 2mo agoCompare

[ Source](https://github.com/RunOpenCode/metadata)[ Packagist](https://packagist.org/packages/runopencode/metadata)[ RSS](/packages/runopencode-metadata/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (6)Versions (31)Used By (1)

Metadata Component
==================

[](#metadata-component)

*This is a **read-only** repository of mono-repository sub-split from . Do not send PR or report issues against this repository, use the one referenced with previously given URL.*

Metadata is a small utility library which allows us to search for metadata (attributes) in classes/properties/methods. Instead of using PHP's native reflection API and manual traversal, this library uses caching and is optimized for performance.

In general, this library is helpful in providing, in example, these questions:

- Does this class have specific attribute? Give me that attribute instance.
- Does this class have property/method with specific attribute? Give me that property/method and attribute instance.
- Give me all properties/methods with specific attribute.
- etc.

Using this library, it is trivial to implement various metadata-based features, such as serialization, validation, mapping, etc. Doctrine behaviors, such as `Timestampable`, `Blameable`, etc. can be implemented using this library as well, with less boilerplate code.

Resources
---------

[](#resources)

- [Report issues and suggest features](https://github.com/RunOpenCode/phplib/issues)
- [Send pull requests](https://github.com/RunOpenCode/phplib/pulls)
- [Changelog](https://github.com/RunOpenCode/phplib/blob/master/CHANGELOG)
- [License](https://github.com/RunOpenCode/phplib/blob/master/LICENSE)

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance88

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~9 days

Total

30

Last Release

39d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/410738?v=4)[Nikola Svitlica](/maintainers/TheCelavi)[@TheCelavi](https://github.com/TheCelavi)

---

Top Contributors

[![TheCelavi](https://avatars.githubusercontent.com/u/410738?v=4)](https://github.com/TheCelavi "TheCelavi (69 commits)")[![stefan1144](https://avatars.githubusercontent.com/u/71703717?v=4)](https://github.com/stefan1144 "stefan1144 (2 commits)")

### Embed Badge

![Health badge](/badges/runopencode-metadata/health.svg)

```
[![Health](https://phpackages.com/badges/runopencode-metadata/health.svg)](https://phpackages.com/packages/runopencode-metadata)
```

###  Alternatives

[tempest/framework

The PHP framework that gets out of your way.

2.3k37.6k19](/packages/tempest-framework)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M225](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.8M651](/packages/shopware-core)[oat-sa/generis

TAO generis library

11154.0k150](/packages/oat-sa-generis)[psx/schema

Parse and generate data schema formats

57247.2k28](/packages/psx-schema)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
