PHPackages                             lunr/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. lunr/locator

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

lunr/locator
============

Lunr.Locator is an opinionated service locator.

0.11.0(7mo ago)0225MITPHPPHP &gt;=8.1CI passing

Since Jul 14Pushed 3mo ago5 watchersCompare

[ Source](https://github.com/lunr-php/lunr.locator)[ Packagist](https://packagist.org/packages/lunr/locator)[ Docs](https://github.com/lunr-php/lunr.locator)[ RSS](/packages/lunr-locator/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (10)Dependencies (5)Versions (19)Used By (0)

Lunr
====

[](#lunr)

Lunr.Locator is a library implementing the Service Locator pattern, which can be used to load class dependencies on demand.

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

[](#installation)

- Install Lunr.Locator with Composer or with your own installer.
- Lunr.Locator follows the [semantic versioning](https://semver.org) standards.

Community
---------

[](#community)

- Follow us on [GitHub](https://github.com/lunr-php/lunr.locator).

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

[](#contributing)

Lunr.Locator is an Open Source, community-driven project. Join by contributing code or documentation.

If you encounter any issues when using Lunr you can report them [on github](https://github.com/lunr-php/lunr.locator/issues)

About Us
--------

[](#about-us)

Lunr development is spearheaded by [Move](https://moveagency.com).

###  Health Score

41

—

FairBetter than 88% of packages

Maintenance78

Regular maintenance activity

Popularity11

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.5% 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 ~99 days

Recently: every ~91 days

Total

11

Last Release

232d ago

PHP version history (2 changes)0.7.0PHP &gt;=7.4

0.8.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d947cb57fe64548b6f9eda414f1add9b39e62200c6f509af20db0119bb8b245?d=identicon)[pprkut](/maintainers/pprkut)

---

Top Contributors

[![pprkut](https://avatars.githubusercontent.com/u/56635?v=4)](https://github.com/pprkut "pprkut (207 commits)")[![SMillerDev](https://avatars.githubusercontent.com/u/1484494?v=4)](https://github.com/SMillerDev "SMillerDev (38 commits)")[![tardypad](https://avatars.githubusercontent.com/u/6368493?v=4)](https://github.com/tardypad "tardypad (2 commits)")[![brianstoop](https://avatars.githubusercontent.com/u/43063856?v=4)](https://github.com/brianstoop "brianstoop (1 commits)")

---

Tags

lunrone-flowossphpdependency-injectionserviceLocator

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lunr-locator/health.svg)

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

###  Alternatives

[php-di/invoker

Generic and extensible callable invoker

26857.8M56](/packages/php-di-invoker)[level-2/dice

A minimalist Dependency injection container (DIC) for PHP. Please note: 3.0+ is only compatible with PHP 7.0. The 2.0 branch is compatbile with PHP 5.6.

437730.3k16](/packages/level-2-dice)[respect/config

A powerful, small, deadly simple configurator and dependency injection container made to be easy.

10211.4k1](/packages/respect-config)[arokettu/phpstorm-metadata-export

Export PhpStorm Advanced Metadata from DI containers

1234.0k1](/packages/arokettu-phpstorm-metadata-export)[x-wp/di

The dependency injection container for WordPress

301.1k10](/packages/x-wp-di)[michaels/data-manager

Simple data manager for nested data, dot notation array access, extendability, and container interoperability.

121.9k2](/packages/michaels-data-manager)

PHPackages © 2026

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