PHPackages                             larapkg/lumen-discovery - 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. larapkg/lumen-discovery

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

larapkg/lumen-discovery
=======================

Add package discovery to your lumen application.

1.0.1(5y ago)14333[1 issues](https://github.com/LaraPKG/lumen-discovery/issues)[2 PRs](https://github.com/LaraPKG/lumen-discovery/pulls)1MITPHPPHP ^7.4|^8.0

Since Feb 18Pushed 2y ago2 watchersCompare

[ Source](https://github.com/LaraPKG/lumen-discovery)[ Packagist](https://packagist.org/packages/larapkg/lumen-discovery)[ RSS](/packages/larapkg-lumen-discovery/feed)WikiDiscussions main Synced today

READMEChangelog (1)Dependencies (2)Versions (4)Used By (1)

Lumen Discovery
===============

[](#lumen-discovery)

Add package discovery to your lumen application.

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

[](#installation)

Require via composer:

`composer require larapkg/lumen-discovery`

Open your base `composer.json` file in your project root and add the following to the end of the file:

```
"scripts": {
        "post-autoload-dump": [
            "LaraPkg\\LumenDiscover\\Events\\Dump::post"
        ]
    }

```

The above will enable the packages' ability to discover and cache your providers and aliases.

Now simply register the packages service provider in your `bootstrap/app.php` file:

```
$app->register(\LaraPkg\LumenDiscover\ServiceProvider::class);

```

With the above complete you can now build packages to your hearts content and not worry about how they register into your lumen app.

To make a package you write compatible with this package, you will need to add the following to your packages composer json:

[Example from barryvdh/laravel-debugbar](https://github.com/barryvdh/laravel-debugbar)

```
"extra": {
    "laravel": {
        "providers": [
            "Barryvdh\\Debugbar\\ServiceProvider"
        ],
        "aliases": {
            "Debugbar": "Barryvdh\\Debugbar\\Facade"
        }
    }
},

```

With this package you can use `laravel` or `lumen` interchangeably but remember if you want to use your packages with Laravel you should stick with the `laravel` naming convention.

That's it, now you can pull laravel packages into your lumen app and watch them self register, or you can build your own packages that will also self-register. Have fun!

The base repository this work is off of is [composer/composer](https://github.com/composer/composer) and it is well worth a read.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 84.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

Unknown

Total

1

Last Release

1907d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6e2afdd94a6f21a4ec2c5df569b80c1d47d6f5d0428f866f55c4bc117856b58b?d=identicon)[Ron Appleton](/maintainers/Ron%20Appleton)

---

Top Contributors

[![ronappleton](https://avatars.githubusercontent.com/u/3792420?v=4)](https://github.com/ronappleton "ronappleton (16 commits)")[![Stevemoretz](https://avatars.githubusercontent.com/u/27680142?v=4)](https://github.com/Stevemoretz "Stevemoretz (2 commits)")[![Somesh93](https://avatars.githubusercontent.com/u/10092036?v=4)](https://github.com/Somesh93 "Somesh93 (1 commits)")

### Embed Badge

![Health badge](/badges/larapkg-lumen-discovery/health.svg)

```
[![Health](https://phpackages.com/badges/larapkg-lumen-discovery/health.svg)](https://phpackages.com/packages/larapkg-lumen-discovery)
```

###  Alternatives

[albertoarena/laravel-event-sourcing-generator

Laravel event sourcing domain generator

148.2k](/packages/albertoarena-laravel-event-sourcing-generator)

PHPackages © 2026

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