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.12.0(1mo ago)01.1k5MITPHPPHP &gt;=8.3CI passing

Since Jul 14Pushed 1mo 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 3w ago

READMEChangelog (10)Dependencies (10)Versions (21)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

51

—

FairBetter than 95% of packages

Maintenance91

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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 ~113 days

Recently: every ~149 days

Total

12

Last Release

44d ago

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

0.8.0PHP &gt;=8.1

0.12.0PHP &gt;=8.3

### 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

[symfony/dependency-injection

Allows you to standardize and centralize the way objects are constructed in your application

4.2k455.6M9.6k](/packages/symfony-dependency-injection)[illuminate/contracts

The Illuminate Contracts package.

706130.3M13.4k](/packages/illuminate-contracts)[illuminate/container

The Illuminate Container package.

31182.0M2.4k](/packages/illuminate-container)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

564576.7k53](/packages/ecotone-ecotone)[symfony/type-info

Extracts PHP types information.

20069.8M270](/packages/symfony-type-info)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)

PHPackages © 2026

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