PHPackages                             mi/metadata-puli-file-locator - 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. mi/metadata-puli-file-locator

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

mi/metadata-puli-file-locator
=============================

Puli-FileLocator for JMS Metadata

v1.1.1(10y ago)03.7k4MITPHPPHP &gt;=5.6.0

Since Jun 23Pushed 10y ago8 watchersCompare

[ Source](https://github.com/MovingImage24/metadata-puli-file-locator)[ Packagist](https://packagist.org/packages/mi/metadata-puli-file-locator)[ RSS](/packages/mi-metadata-puli-file-locator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (4)Used By (4)

Metadata PuliFileLocator
========================

[](#metadata-pulifilelocator)

[![Build Status](https://camo.githubusercontent.com/7f172a4b303ad2b915b71247200b116fd304756ee52cba07977c32baf0bf6ac4/68747470733a2f2f7472617669732d63692e6f72672f4d6f76696e67496d61676532342f6d657461646174612d70756c692d66696c652d6c6f6361746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/MovingImage24/metadata-puli-file-locator)[![Latest Stable Version](https://camo.githubusercontent.com/85bca86e24e80db23dd69de423d264d5b02d6d6c14e14366f6b82579738df518/68747470733a2f2f706f7365722e707567782e6f72672f6d692f6d657461646174612d70756c692d66696c652d6c6f6361746f722f762f737461626c65)](https://packagist.org/packages/mi/metadata-puli-file-locator)[![Latest Unstable Version](https://camo.githubusercontent.com/d150ca08d709eea24d91ef81944a274d1d7b225610c43f5870e38ae8c301d2fe/68747470733a2f2f706f7365722e707567782e6f72672f6d692f6d657461646174612d70756c692d66696c652d6c6f6361746f722f762f756e737461626c65)](https://packagist.org/packages/mi/metadata-puli-file-locator)[![Total Downloads](https://camo.githubusercontent.com/5ce655d0cdb3cb07ff3016936d7b3fe6830e97fcb65c580aa9a316dcd4d84b58/68747470733a2f2f706f7365722e707567782e6f72672f6d692f6d657461646174612d70756c692d66696c652d6c6f6361746f722f646f776e6c6f616473)](https://packagist.org/packages/mi/metadata-puli-file-locator)[![License](https://camo.githubusercontent.com/03eaa28f3c8d0f5f0227cc58270ef02781e76963ba4d73adfe0070ea7a02d330/68747470733a2f2f706f7365722e707567782e6f72672f6d692f6d657461646174612d70756c692d66696c652d6c6f6361746f722f6c6963656e7365)](https://packagist.org/packages/mi/metadata-puli-file-locator)[![StyleCI](https://camo.githubusercontent.com/606b582ec0d2c33907d1026bd53192c15bff64d65e89ea4880d9efa0c46a5104/68747470733a2f2f7374796c6563692e696f2f7265706f732f33373837323730382f736869656c64)](https://styleci.io/repos/37872708)

Overview
--------

[](#overview)

...

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

[](#installation)

1. Add this library to your project as a composer dependency:

```
composer require mi/metadata-puli-file-locator
```

Usage
-----

[](#usage)

### PuliDiscovery

[](#pulidiscovery)

For the usage of the puli discovery file locator use the PuliDiscoveryDriverFactory. To configure the metadata bind the query to "jms/serializer-metadata" with the parameter for the namespace prefix and the extension.

```
php puli.phar bind /puli/path/to/file/*.xml jms/serializer-metadata --param extension="xml" \
--namespace-prefix="Vendor\Namespace\Prefix"
```

```
$serializer =
JMS\Serializer\SerializerBuilder::create()
    ->setMetadataDriverFactory(new Mi\Puli\Serializer\Builder\PuliDiscoveryDriverFactory($puliDiscovery))
    ...
    ->build();
```

### PuliRepository

[](#pulirepository)

For the usage of the puli repository file locator use the PuliRepositoryDriverFactory. Also the metadata are configure with the puli paths and namespace prefix.

```
$serializer =
JMS\Serializer\SerializerBuilder::create()
    ->addMetadataDir('/puli/path/to/file', 'Vendor\Namespace\Prefix')
    ->setMetadataDriverFactory(new Mi\Puli\Serializer\Builder\PuliRepositoryDriverFactory($puliRepository))
    ...
    ->build();
```

Contributing
------------

[](#contributing)

1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request

License
=======

[](#license)

This library is under the [MIT license](https://github.com/MovingImage24/metadata-puli-file-locator/blob/master/LICENSE).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 64.3% 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 ~53 days

Total

3

Last Release

3877d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0c191db55131753540dbf951972519e07fc90bef3a18d3a37a5b740e7aa64234?d=identicon)[mi24administrator](/maintainers/mi24administrator)

---

Top Contributors

[![Engerim](https://avatars.githubusercontent.com/u/1322557?v=4)](https://github.com/Engerim "Engerim (9 commits)")[![dasrick](https://avatars.githubusercontent.com/u/377702?v=4)](https://github.com/dasrick "dasrick (5 commits)")

---

Tags

metadatapulijms-serializer

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mi-metadata-puli-file-locator/health.svg)

```
[![Health](https://phpackages.com/badges/mi-metadata-puli-file-locator/health.svg)](https://phpackages.com/packages/mi-metadata-puli-file-locator)
```

###  Alternatives

[minime/annotations

The KISS PHP annotations library

229378.6k37](/packages/minime-annotations)[mhor/php-mediainfo

PHP wrapper around the mediainfo command

120574.8k7](/packages/mhor-php-mediainfo)[honeystone/laravel-seo

SEO metadata and JSON-LD package for Laravel.

34744.1k](/packages/honeystone-laravel-seo)[spiral/attributes

PHP attributes reader

233.6M45](/packages/spiral-attributes)[thomas-schulz/symfony-meta

PhpStorm meta data for expected arguments completion in symfony projects.

8957.0k](/packages/thomas-schulz-symfony-meta)[phpexiftool/exiftool

Exiftool is a library for reading, writing and editing meta information. This package is not PHP, but required for the main PHP driver : PHP Exiftool

30376.0k7](/packages/phpexiftool-exiftool)

PHPackages © 2026

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