PHPackages                             jameshalsall/squeezed - 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. jameshalsall/squeezed

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

jameshalsall/squeezed
=====================

An extension of the simple service container Pimple to provide tagging support.

1.0.1(11y ago)2382PHP

Since Feb 4Pushed 11y ago1 watchersCompare

[ Source](https://github.com/jameshalsall/squeezed)[ Packagist](https://packagist.org/packages/jameshalsall/squeezed)[ RSS](/packages/jameshalsall-squeezed/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (3)Used By (0)

Squeezed
========

[](#squeezed)

An extension of the simple service container Pimple to provide tagging support.

Using Squeezed
--------------

[](#using-squeezed)

### Tagging a service

[](#tagging-a-service)

You can tag a service in the container by using the `Squeezed::tagService();` method:

```
$container = new Squeezed();
$container['some_service'] = new SomeService();
$container['another_service'] = new AnotherService();

$container->tagService('tag name', 'some_service');
$container->tagService('tag name', 'another_service');

```

### Retrieving services by tag

[](#retrieving-services-by-tag)

Once you have tagged some services you can then retrieve them by their tag name. This is useful when dealing with categories of services such as console commands or controllers.

```
$taggedServices = $container->getByTag('tag name');

```

This will return an array of the tagged services indexed by their service ID.

Future Development
------------------

[](#future-development)

- Add support for Pimple 2.0

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

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 ~0 days

Total

2

Last Release

4167d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/463807?v=4)[jaitsu](/maintainers/jaitsu)[@Jaitsu](https://github.com/Jaitsu)

---

Top Contributors

[![jameshalsall](https://avatars.githubusercontent.com/u/499932?v=4)](https://github.com/jameshalsall "jameshalsall (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jameshalsall-squeezed/health.svg)

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

###  Alternatives

[oat-sa/tao-core

TAO core extension

66143.7k122](/packages/oat-sa-tao-core)[jaxon-php/jaxon-core

Jaxon is an open source PHP library for easily creating Ajax web applications

74149.4k30](/packages/jaxon-php-jaxon-core)[ckfinder/ckfinder-laravel-package

CKFinder 3 package for Laravel

160527.7k67](/packages/ckfinder-ckfinder-laravel-package)[ckfinder/ckfinder-symfony-bundle

CKFinder bundle for Symfony

42454.3k](/packages/ckfinder-ckfinder-symfony-bundle)[inpsyde/wp-app-container

DI Container and related tools to be used at website level.

41275.1k](/packages/inpsyde-wp-app-container)[rockettheme/toolbox

RocketTheme Toolbox Library

22540.5k5](/packages/rockettheme-toolbox)

PHPackages © 2026

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