PHPackages                             php-etl/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. php-etl/metadata

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

php-etl/metadata
================

Describe data structures, to auto-configure and handle data transformation and data manipulation.

v0.4.0(3y ago)011.8k↓25%[1 PRs](https://github.com/php-etl/metadata/pulls)3MITPHPPHP ^8.2

Since Jan 7Pushed 1y ago2 watchersCompare

[ Source](https://github.com/php-etl/metadata)[ Packagist](https://packagist.org/packages/php-etl/metadata)[ RSS](/packages/php-etl-metadata/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (9)Versions (8)Used By (3)

PHP Data Structures Meta
========================

[](#php-data-structures-meta)

[![Quality](https://github.com/php-etl/metadata/actions/workflows/quality.yaml/badge.svg)](https://github.com/php-etl/metadata/actions/workflows/quality.yaml)[![PHPUnit](https://github.com/php-etl/metadata/actions/workflows/phpunit.yaml/badge.svg)](https://github.com/php-etl/metadata/actions/workflows/phpunit.yaml)[![Mutations](https://github.com/php-etl/metadata/actions/workflows/infection.yaml/badge.svg)](https://github.com/php-etl/metadata/actions/workflows/infection.yaml)[![PHPStan level 5](https://github.com/php-etl/metadata/actions/workflows/phpstan5.yaml/badge.svg)](https://github.com/php-etl/metadata/actions/workflows/phpstan-5.yaml)[![PHPStan level 6](https://github.com/php-etl/metadata/actions/workflows/phpstan6.yaml/badge.svg)](https://github.com/php-etl/metadata/actions/workflows/phpstan-6.yaml)[![PHPStan level 7](https://github.com/php-etl/metadata/actions/workflows/phpstan7.yaml/badge.svg)](https://github.com/php-etl/metadata/actions/workflows/phpstan-7.yaml)[![PHPStan level 8](https://github.com/php-etl/metadata/actions/workflows/phpstan8.yaml/badge.svg)](https://github.com/php-etl/metadata/actions/workflows/phpstan8.yaml)[![PHP](https://camo.githubusercontent.com/4a2dfb6b8164eea01236bc1f7e6f952f9c49ca7b983d9cb9f8d713693c307971/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7068702d65746c2f6d65746164617461)](https://camo.githubusercontent.com/4a2dfb6b8164eea01236bc1f7e6f952f9c49ca7b983d9cb9f8d713693c307971/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f7068702d65746c2f6d65746164617461)

What is it about?
-----------------

[](#what-is-it-about)

This component aims at describing data structures in order to help other packages to auto-configure and handle data transformation and data manipulation.

Installation
------------

[](#installation)

To use this package in your application, require it via composer:

```
composer require php-etl/metadata
```

Run the tests
-------------

[](#run-the-tests)

There are PHPSpec tests declared in this package to ensure everything is running fine.

```
phpspec run
```

Use this package to read metadata of existing code
--------------------------------------------------

[](#use-this-package-to-read-metadata-of-existing-code)

In order to read the metadata of existing PHP code, you may use the automatic type guesser. It can be initialised with the following code:

```
