PHPackages                             annonyme/services - 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. annonyme/services

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

annonyme/services
=================

A simple and easy service-container.

00PHPCI failing

Since Nov 18Pushed 6y ago1 watchersCompare

[ Source](https://github.com/annonyme/services)[ Packagist](https://packagist.org/packages/annonyme/services)[ RSS](/packages/annonyme-services/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

hannespries/services
====================

[](#hannespriesservices)

Simple and easy to use PHP service-container with dependency injection.

Service Description Format
--------------------------

[](#service-description-format)

```
{
    "testservice/outer": {
        "class": "test\Service",
        "arguments": [
            {"id": "test", "type": "primitive"},
            {"id": "testservice/inner", "type": "service"}
        ]
    },
    "testservice/inner": {
        "class": "test\InnerService"
    }
}

```

Usage in PHP
------------

[](#usage-in-php)

```
$cont = Container::instance();
$cont->addServiceDescriptor(json_decode(file_get_content('services.json'), true));
$outer = $cont->get('testservice/outer');

```

###  Health Score

16

—

LowBetter than 4% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/7e635bded93d1810de0166181bc52ac5c1ce843aeaa58f89384d0df352e5a561?d=identicon)[annonyme](/maintainers/annonyme)

### Embed Badge

![Health badge](/badges/annonyme-services/health.svg)

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

###  Alternatives

[symfony/dotenv

Registers environment variables from a .env file

3.8k237.6M2.6k](/packages/symfony-dotenv)[izniburak/laravel-auto-routes

Auto Route Generating (Auto-Discovery) Package for Laravel

23548.1k](/packages/izniburak-laravel-auto-routes)

PHPackages © 2026

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