PHPackages                             edalzell/laravel-features - 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. edalzell/laravel-features

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

edalzell/laravel-features
=========================

Self-contained feature modules for Laravel with auto-registration of routes, migrations, views, events, and seeders

v0.6.0(4d ago)181614[2 issues](https://github.com/edalzell/laravel-features/issues)[2 PRs](https://github.com/edalzell/laravel-features/pulls)MITPHPPHP ^8.3CI passing

Since Oct 25Pushed 1w ago1 watchersCompare

[ Source](https://github.com/edalzell/laravel-features)[ Packagist](https://packagist.org/packages/edalzell/laravel-features)[ Docs](https://github.com/edalzell/laravel-features)[ RSS](/packages/edalzell-laravel-features/feed)WikiDiscussions main Synced today

READMEChangelog (8)Dependencies (56)Versions (25)Used By (0)

[![Latest Version on Packagist](https://camo.githubusercontent.com/b3c08c5ec288b81e31324449259b63359602f566c2193fbd2601871f82afa4da/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6564616c7a656c6c2f6c61726176656c2d66656174757265732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/edalzell/laravel-features)[![GitHub Tests Action Status](https://camo.githubusercontent.com/00fdd94690f8435169d2f353f89e80f008a476d328f6c7e37f57a04bbda71132/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6564616c7a656c6c2f6c61726176656c2d66656174757265732f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/edalzell/laravel-features/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/66d428efd15a92638560685ff02db71063bc545fc6889ccb675f477db9637d87/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6564616c7a656c6c2f6c61726176656c2d66656174757265732f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/edalzell/laravel-features/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/ea549e3b760cfa37af70e016ac5c22b2f57e289b9dc229b881d8e13b4776f103/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6564616c7a656c6c2f6c61726176656c2d66656174757265732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/edalzell/laravel-features)

Add self-contained features to your Laravel app or package, including all resources/routes/etc.

```
.
└── app/
...
└── features/
  │   └── MyGreatFeature/
  │       ├── config/
  │       │   └── my-great-feature.php
  │       ├── database/
  │       │   ├── factories
  │       │   ├── migrations
  │       │   └── seeders
  │       ├── resources
  │       ├── routes
  │       └── src/
  │           ├── Models
  │           ├── ...
  │           └── ServiceProvider.php
```

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

[](#installation)

You can install the package via composer:

```
composer require edalzell/laravel-features
```

Usage
-----

[](#usage)

To add a feature to your app:

```
php artisan make:feature MyGreatFeature
```

To add a feature to your package:

```
php artisan make:feature MyGreatFeature the-dev/my-package
```

This will create an empty (but necessary) service provider that autoloads/registers config, migrations, routes, &amp; views and properly namespaces your factories, seeders and code.

By default the config is available at the slugified version of the feature name, i.e. 'TwoWords' becomes `two-words.php`. If you want a different name, override the `configFilename` method in your feature's service provider.

If you want to add a feature manually, or convert something you already have into a feature:

- create an `features/YourFeature` folder
- create a `ServiceProvider` that extends `FeatureServiceProvider` (or `PackageServiceProvider` for a package feature).
- add a `pre-autoload-dump` script to your `composer.json`:

```
"pre-autoload-dump": [
    "Edalzell\\Features\\Composer\\FeatureNamespaces::add"
]

```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

48

—

FairBetter than 93% of packages

Maintenance96

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83% 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 ~31 days

Total

9

Last Release

4d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/85ea2872499207e557751841b622e1c655c1ea9b56c6bced58686926f0e0fd17?d=identicon)[edalzell](/maintainers/edalzell)

---

Top Contributors

[![edalzell](https://avatars.githubusercontent.com/u/6069653?v=4)](https://github.com/edalzell "edalzell (78 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (15 commits)")[![marcorieser](https://avatars.githubusercontent.com/u/2395800?v=4)](https://github.com/marcorieser "marcorieser (1 commits)")

---

Tags

laravellaravel-featuresErin Dalzell

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/edalzell-laravel-features/health.svg)

```
[![Health](https://phpackages.com/badges/edalzell-laravel-features/health.svg)](https://phpackages.com/packages/edalzell-laravel-features)
```

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3355.3M346](/packages/psalm-plugin-laravel)[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329530.5k29](/packages/codewithdennis-filament-select-tree)[worksome/exchange

Check Exchange Rates for any currency in Laravel.

124603.0k](/packages/worksome-exchange)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)[noerd/noerd

101.4k6](/packages/noerd-noerd)

PHPackages © 2026

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