PHPackages                             maslosoft/gazebo - 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. maslosoft/gazebo

ActiveLibrary

maslosoft/gazebo
================

Plugin container

2.0.2(3y ago)05.8k3AGPLPHPPHP &gt;=7.4

Since Mar 13Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Maslosoft/Gazebo)[ Packagist](https://packagist.org/packages/maslosoft/gazebo)[ Docs](https://maslosoft.com/gazebo/)[ RSS](/packages/maslosoft-gazebo/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (19)Used By (3)

[![Gazebo Logo](https://camo.githubusercontent.com/5e9f817df5cfb794433cbb883d965882fc70305b60403c8380f4a7832093663e/68747470733a2f2f6d61736c6f736f66742e636f6d2f67617a65626f2f67617a65626f2e737667)](https://maslosoft.com/gazebo/) [Maslosoft Gazebo](https://maslosoft.com/gazebo/)
=====================================================================================================================================================================================================================================================================================

[](#-maslosoft-gazebo)

[*Plugin container*](https://maslosoft.com/gazebo/)

[![Latest Stable Version](https://camo.githubusercontent.com/5156706273a6cfff59676c89e189b36c61133163fe28dc73f7ed69b7a5f82e07/68747470733a2f2f706f7365722e707567782e6f72672f6d61736c6f736f66742f67617a65626f2f762f737461626c652e737667)](https://packagist.org/packages/maslosoft/gazebo "Latest Stable Version")[![License](https://camo.githubusercontent.com/f10bbe7b271630ffb33b77f3f24d998700af03ee40cffcebb4eeecf644952824/68747470733a2f2f706f7365722e707567782e6f72672f6d61736c6f736f66742f67617a65626f2f6c6963656e73652e737667)](https://packagist.org/packages/maslosoft/gazebo "License")[ ![Scrutinizer Code Quality](https://camo.githubusercontent.com/5f88aa10bfc09f588b02776446c82eb2fa432cab426b06117e5a0fda4d72b95f/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4d61736c6f736f66742f47617a65626f2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Maslosoft/Gazebo/?branch=master)[ ![Code Coverage](https://camo.githubusercontent.com/2bda50235b1155a551f8ad86895fbd8407e8058a52332b0e0c4580656f5f17e5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4d61736c6f736f66742f47617a65626f2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Maslosoft/Gazebo/?branch=master)### Quick Install

[](#quick-install)

```
composer require maslosoft/gazebo
```

### Documentation

[](#documentation)

[Full Gazebo Documentation](https://maslosoft.com/gazebo/docs/)

Plugin container
================

[](#plugin-container)

When developing plugins for Your application, these might come in very different kids. This library helps to manage plugins by providing sets of instantiated plugins required for various scenarios. All plugins for component using gazebo are configured as a one simple list - thus allowing for easy adding and removing them - without bothering which plugin type should go where.

### Usage

[](#usage)

```
//Plugins
class WaterPlugin implements WetInterface
{
	public $name = 'foo';
}
class MetalPlugin implements HardInterface
{
	public $options = false;
}
class GenericPlugin
{

}
// Config:
$config = [
			TestModel::class => [
				WaterPlugin::class,
				[
					'class' => MetalPlugin::class,
					'options' => true
				],
				GenericPlugin::class,
			],
		];

// Create plugins but only for selected interfaces
$plugins = (new PluginFactory())->instance($this->config, $model, [
			HardInterface::class,
			WetInterface::class
		]);

var_dump($plugins);

// Created flyweight instances of two plugins
//array(2) {
//	[0] => class Maslosoft\GazeboTest\Model\WaterPlugin#181 (1) {
//		public $name => string(3) "foo"
//	}
//	[1] => class Maslosoft\GazeboTest\Model\MetalPlugin#182 (2) {
//		public $options => bool(true)
//		public $class => string(38) "Maslosoft\GazeboTest\Model\MetalPlugin"
//	}
//}
```

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~162 days

Recently: every ~562 days

Total

18

Last Release

1314d ago

Major Versions

1.1.10 → 2.0.02022-02-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/c0c790d4fc70028f2628e8dfd67b12a75eb8cc7c9e9db8c8347b5660c336f21c?d=identicon)[pmaselkowski](/maintainers/pmaselkowski)

---

Top Contributors

[![pmaselkowski](https://avatars.githubusercontent.com/u/520283?v=4)](https://github.com/pmaselkowski "pmaselkowski (71 commits)")

###  Code Quality

TestsCodeception

### Embed Badge

![Health badge](/badges/maslosoft-gazebo/health.svg)

```
[![Health](https://phpackages.com/badges/maslosoft-gazebo/health.svg)](https://phpackages.com/packages/maslosoft-gazebo)
```

PHPackages © 2026

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