PHPackages                             frozzare/tank - 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. frozzare/tank

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

frozzare/tank
=============

WordPress Container

v1.3.1(9y ago)57.0k15MITPHPPHP ^5.6 || ^7.0

Since Aug 10Pushed 6y ago1 watchersCompare

[ Source](https://github.com/wpup/tank)[ Packagist](https://packagist.org/packages/frozzare/tank)[ Docs](https://github.com/frozzare/wp-tank)[ RSS](/packages/frozzare-tank/feed)WikiDiscussions master Synced today

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

tank
====

[](#tank)

[![Build Status](https://camo.githubusercontent.com/a6a81792b994803f3ba601b24968498e1d07baa985ae84614b55e003b256fb8d/68747470733a2f2f7472617669732d63692e6f72672f777075702f74616e6b2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/wpup/tank) [![codecov.io](https://camo.githubusercontent.com/b7ef336a767491ed111c96dc5548fee74079d8e2906fa6fd9f54eb116885a7c4/687474703a2f2f636f6465636f762e696f2f6769746875622f777075702f74616e6b2f636f7665726167652e7376673f6272616e63683d6d6173746572)](http://codecov.io/github/wpup/tank?branch=master)[![License](https://camo.githubusercontent.com/ff7e9bed2b2844cef40ebd19b521108ec8166b8ed12c1be7b8e6742039a7ceb5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f66726f7a7a6172652f74616e6b2e737667)](https://packagist.org/packages/frozzare/tank)[![No Maintenance Intended](https://camo.githubusercontent.com/d904056147052e22d8e1c7f46bb50293ed2aeb4c43ead9a2d0cf7a48b46d0562/687474703a2f2f756e6d61696e7461696e65642e746563682f62616467652e737667)](http://unmaintained.tech/)

> Requires PHP 5.6

WordPress Container.

Install
-------

[](#install)

```
composer require frozzare/tank

```

Container example
-----------------

[](#container-example)

```
use Frozzare\Tank\Container;

class Plugin_Loader extends Container {

  public function __construct() {
    $this->bind( 'number', 12345 );
  }

}

$loader = new Plugin_Loader;

echo $loader->make( 'number' );
// 12345
```

Check the [container source code](https://github.com/wpup/tank/blob/master/src/class-container.php) for methods that can be used.

Service provider example
------------------------

[](#service-provider-example)

```
use Frozzare\Tank\Container;
use Frozzare\Tank\Service_Provider;

class Example_Provider extends Service_Provider {

  public function register() {
    $this->container->bind( 'say', 'Hello!' );
  }

}

$container = new Container;
$provider  = new Example_Provider( $container );
$provider->register();

echo $container->make( 'say' );
// Hello!
```

License
-------

[](#license)

MIT © [Fredrik Forsmo](https://github.com/frozzare)

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 96.8% 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 ~112 days

Recently: every ~137 days

Total

6

Last Release

3419d ago

PHP version history (3 changes)v1.0.0PHP &gt;=5.4

v1.2.0PHP ^5.5.9 || ^7.0

v1.3.0PHP ^5.6 || ^7.0

### Community

Maintainers

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

---

Top Contributors

[![frozzare](https://avatars.githubusercontent.com/u/14610?v=4)](https://github.com/frozzare "frozzare (91 commits)")[![rasmusbe](https://avatars.githubusercontent.com/u/2124386?v=4)](https://github.com/rasmusbe "rasmusbe (3 commits)")

---

Tags

wordpressutilities

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/frozzare-tank/health.svg)

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

###  Alternatives

[roots/bedrock

WordPress boilerplate with Composer, easier configuration, and an improved folder structure

6.5k463.8k2](/packages/roots-bedrock)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[roots/wp-stage-switcher

WordPress plugin that allows you to switch between different environments from the admin bar

383469.2k3](/packages/roots-wp-stage-switcher)[vinkla/wordplate

The WordPlate boilerplate

2.2k5.3k](/packages/vinkla-wordplate)[mediawiki/maps

Adds various mapping features to MediaWiki

84152.3k3](/packages/mediawiki-maps)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

19251.4k3](/packages/civicrm-civicrm-drupal-8)

PHPackages © 2026

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