PHPackages                             websharks/dicer - 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. websharks/dicer

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

websharks/dicer
===============

Dependency injector for PHP.

170913.25494(8y ago)13.0k1GPL-3.0+PHPPHP &gt;=7.0.0-RC7

Since May 7Pushed 8y ago1 watchersCompare

[ Source](https://github.com/websharks/dicer)[ Packagist](https://packagist.org/packages/websharks/dicer)[ Docs](https://github.com/websharks/dicer)[ RSS](/packages/websharks-dicer/feed)WikiDiscussions dev Synced 1mo ago

READMEChangelog (8)DependenciesVersions (11)Used By (1)

Dicer (PHP Dependency Injector)
===============================

[](#dicer-php-dependency-injector)

[![](https://camo.githubusercontent.com/c882028d7c91cbe1e32438b7d96e031c07ebad54929ac3012fb0f6afab27de05/68747470733a2f2f63646e2e776562736861726b732d696e632e636f6d2f776562736861726b732f75706c6f6164732f323031332f31312f736861726b732d6c6f676f2e706e67)](https://camo.githubusercontent.com/c882028d7c91cbe1e32438b7d96e031c07ebad54929ac3012fb0f6afab27de05/68747470733a2f2f63646e2e776562736861726b732d696e632e636f6d2f776562736861726b732f75706c6f6164732f323031332f31312f736861726b732d6c6f676f2e706e67)

A simple, lightweight dependency injector for PHP.

```
{
    "require": {
        "websharks/dicer": "dev-master"
    }
}
```

Built w/ PhpStorm™
------------------

[](#built-w-phpstorm)

[![](https://camo.githubusercontent.com/e32d250f0ad445f314d764220cb54149e6cd1a25852adc602c560b83deb55181/68747470733a2f2f7777772e6a6574627261696e732e636f6d2f70687073746f726d2f646f63756d656e746174696f6e2f646f63732f6c6f676f5f70687073746f726d2e706e67)](https://camo.githubusercontent.com/e32d250f0ad445f314d764220cb54149e6cd1a25852adc602c560b83deb55181/68747470733a2f2f7777772e6a6574627261696e732e636f6d2f70687073746f726d2f646f63756d656e746174696f6e2f646f63732f6c6f676f5f70687073746f726d2e706e67)

Yes! We love [PhpStorm™](https://www.jetbrains.com/phpstorm/) (from IntelliJ IDEA). It's is a syntax-aware IDE that comes with a lot of amazing features. From Code Inspection, to Style Guidelines, to External Tools; you will find everything you need to build professional applications in PHP/JS/CSS and many other languages that PhpStorm™ supports via easy-to-install plugins.

... [Learn more about why WebSharks™ uses PhpStorm](http://www.websharks-inc.com/post/phpstorm/)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Recently: every ~165 days

Total

9

Last Release

3170d ago

PHP version history (2 changes)150407PHP &gt;=5.4.7

151115PHP &gt;=7.0.0-RC7

### Community

Maintainers

![](https://www.gravatar.com/avatar/2c9e574030ba64b0b14dfbe9adfbd7633e0304ab3e2cc54ed9f427822eb6dcda?d=identicon)[jaswsinc](/maintainers/jaswsinc)

![](https://www.gravatar.com/avatar/79743cc4ae9c5dd8e76f40dc6157461066649dc46ea9fd1b35c8c1b27a411ea5?d=identicon)[raamdev](/maintainers/raamdev)

---

Tags

websharks

### Embed Badge

![Health badge](/badges/websharks-dicer/health.svg)

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

###  Alternatives

[websharks/css-minifier

Compresses CSS.

181.6M2](/packages/websharks-css-minifier)[websharks/html-compressor

Combines &amp; compresses CSS/JS/HTML code.

407.1k1](/packages/websharks-html-compressor)[kaufmanndigital/gdpr-cookieconsent

A ready-to-run package, that integrates an advanced cookie consent banner into your Neos CMS site.

2540.7k](/packages/kaufmanndigital-gdpr-cookieconsent)[selective/transformer

A strictly typed array transformer with dot-access, fluent interface and filters.

3817.8k1](/packages/selective-transformer)

PHPackages © 2026

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