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

ActiveLibrary

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 1mo ago

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 65% 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

4113d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/419dbae2ddb841eca08a765200e8d550314f3d7dc000823135c633981dbcf86b?d=identicon)[jaitsu](/maintainers/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

[jaxon-php/jaxon-core

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

73142.3k25](/packages/jaxon-php-jaxon-core)[oat-sa/tao-core

TAO core extension

66136.7k74](/packages/oat-sa-tao-core)[sweatshop/sweatshop

Abstraction layer for message brokers and job servers, including process management

1112.3k](/packages/sweatshop-sweatshop)[moriony/silex-mongo-provider

Mongo service provider for the Silex framwork.

118.5k](/packages/moriony-silex-mongo-provider)[benjam1/symfttpd

PHP webserver

151.7k](/packages/benjam1-symfttpd)

PHPackages © 2026

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