PHPackages                             jrbarros/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. jrbarros/laravel-plug-and-play

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

jrbarros/laravel-plug-and-play
==============================

Plug and play packages in Laravel

1.1.1(6y ago)03MITPHPPHP &gt;=7.0.0

Since Oct 22Pushed 5y agoCompare

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

READMEChangelog (1)Dependencies (3)Versions (5)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

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.7% 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 ~142 days

Total

4

Last Release

1968d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/00b6392647e4c38efad2fcdc9adc124141d277def88a6b71dfc22f2efbd10b3d?d=identicon)[jrbarros](/maintainers/jrbarros)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)[uma/composer-psysh

No-frills PsySH-Composer plugin

183.2k](/packages/uma-composer-psysh)

PHPackages © 2026

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