PHPackages                             edersoares/laravel-plug-and-play - 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. edersoares/laravel-plug-and-play

AbandonedArchivedComposer-plugin

edersoares/laravel-plug-and-play
================================

Plug and play packages in Laravel

1.2.1(5y ago)35.2k1MITPHPPHP &gt;=7.0.0

Since Oct 22Pushed 5y ago1 watchersCompare

[ Source](https://github.com/edersoares/laravel-plug-and-play)[ Packagist](https://packagist.org/packages/edersoares/laravel-plug-and-play)[ RSS](/packages/edersoares-laravel-plug-and-play/feed)WikiDiscussions master Synced today

READMEChangelog (5)Dependencies (3)Versions (6)Used By (0)

Laravel Plug and Play
=====================

[](#laravel-plug-and-play)

Add to the [Laravel](https://laravel.com/) application the ability to plug and play packages that are build with [package discover](https://laravel.com/docs/master/packages#package-discovery) without necessarily installing a new dependency on `composer.json`.

This package uses the great plugin [Composer Merge Plugin](https://github.com/wikimedia/composer-merge-plugin) which allows you to merge multiple `composer.json` files into the [Composer](https://getcomposer.org/) runtime.

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

[](#installation)

[Laravel Plug and Play](https://github.com/edersoares/laravel-plug-and-play/) requires [Composer](https://getcomposer.org/) 1.0.0 or newer.

```
composer require edersoares/laravel-plug-and-play

php artisan package:install
```

Usage
-----

[](#usage)

The `composer.json` file needs to be updated to something like:

```
{
    "require": {
        "edersoares/laravel-plug-and-play": "^1.0"
    },
    "extra": {
        "merge-plugin": {
            "include": [
                "packages/*/*/composer.json"
            ]
        }
    }
}
```

This package is a [Composer Merge Plugin](https://github.com/wikimedia/composer-merge-plugin) extension and its features can be used usually. See more in [plugin configuration](https://github.com/wikimedia/composer-merge-plugin#plugin-configuration).

### Adding a package

[](#adding-a-package)

Move or clone the package to `packages//` folder and runs:

```
composer update --lock
```

Whenever package dependencies are updated, this command must be executed.

> This will instruct Composer to recalculate the file hash for the top-level composer.json thus triggering composer-merge-plugin to look for the sub-level configuration files and update your dependencies.
>
>

### Creating a package

[](#creating-a-package)

To create a package execute:

```
php artisan package:create /
```

This will create a package in `packages` folder:

```
packages
\_
  \_
    \_ src
      \_ Providers
        \_ ServiceProvider.php
    \_ composer.json

```

See the official documentation about [package discover](https://laravel.com/docs/master/packages#package-discovery).

### Removing a package

[](#removing-a-package)

Just only remove the package folder and runs:

```
composer update --lock
```

License
-------

[](#license)

[Laravel Plug and Play](https://github.com/edersoares/laravel-plug-and-play/) is licensed under the MIT license. See the [license](https://github.com/edersoares/laravel-plug-and-play/blob/master/license.md) file for more details.

###  Health Score

30

—

LowBetter than 67% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96% 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 ~107 days

Total

5

Last Release

1916d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/195a30f332e238dc26d226f6f62b40d2fe8b227a89b29465fbe8fd201e45f435?d=identicon)[edersoares](/maintainers/edersoares)

---

Top Contributors

[![edersoares](https://avatars.githubusercontent.com/u/957395?v=4)](https://github.com/edersoares "edersoares (24 commits)")[![jrbarros](https://avatars.githubusercontent.com/u/10848562?v=4)](https://github.com/jrbarros "jrbarros (1 commits)")

---

Tags

composer-pluginlaravelplug-and-play

### Embed Badge

![Health badge](/badges/edersoares-laravel-plug-and-play/health.svg)

```
[![Health](https://phpackages.com/badges/edersoares-laravel-plug-and-play/health.svg)](https://phpackages.com/packages/edersoares-laravel-plug-and-play)
```

###  Alternatives

[wintercms/winter

Free, open-source, self-hosted CMS platform based on the Laravel PHP Framework. Originally known as October CMS.

1.5k42.7k](/packages/wintercms-winter)

PHPackages © 2026

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