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.46(1mo ago)0841MITPHPPHP &gt;=8.4

Since Oct 8Pushed 1mo agoCompare

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

READMEChangelogDependencies (4)Versions (27)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

44

—

FairBetter than 91% of packages

Maintenance93

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity53

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

Recently: every ~36 days

Total

26

Last Release

35d 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.2k31.1k12](/packages/tempest-framework)[sulu/sulu

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

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

Shopware platform is the core for all Shopware ecommerce products.

585.4M517](/packages/shopware-core)[fisharebest/webtrees

webtrees online genealogy

77416.0k20](/packages/fisharebest-webtrees)[oat-sa/generis

TAO generis library

10144.6k109](/packages/oat-sa-generis)[oxid-esales/oxideshop-metapackage-ce

This is OXID eShop compilation metapackage.

13494.0k21](/packages/oxid-esales-oxideshop-metapackage-ce)

PHPackages © 2026

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