PHPackages                             krak/symfony-util - 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. krak/symfony-util

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

krak/symfony-util
=================

Symfony Utilities for various components

07.0kPHP

Since May 2Pushed 7y ago1 watchersCompare

[ Source](https://github.com/krakphp/symfony-util)[ Packagist](https://packagist.org/packages/krak/symfony-util)[ RSS](/packages/krak-symfony-util/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Symfony Util
============

[](#symfony-util)

Symfony util provides common utilies and extensions that promote certain styles of developing symfony apps.

Installation
------------

[](#installation)

Install with composer at `krak/symfony-util`.

Usage
-----

[](#usage)

### DependencyInjection

[](#dependencyinjection)

#### createLoader

[](#createloader)

Creates a fully featured delegating loader similar to the default loader created in the root Kernel class. This is useful simplifying the configuration and imports for Apps with multiple bundles.

#### registerTaggedServiceLocator

[](#registertaggedservicelocator)

Performs the boiler plate of registering a service locator of a specific for a specific service.

#### createServiceReferenceMapFromTaggedIds

[](#createservicereferencemapfromtaggedids)

Creates a reference map to be used for a ServiceLocator from a set of taggedIds and an optional keyAttribute to search the tags and use as the key. If no keyAttribute is provided or if no tags contain that key, then it just defaults to use the id as the reference map keys.

#### pickLastAttributeFromTags

[](#picklastattributefromtags)

When finding registered tags, symfony will return an array of tags per id. There are times when you just want to pick out one attribute from the tags, but you need to do it from the last defined tag. This method handles that for you.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![ragboyjr](https://avatars.githubusercontent.com/u/1975857?v=4)](https://github.com/ragboyjr "ragboyjr (2 commits)")

### Embed Badge

![Health badge](/badges/krak-symfony-util/health.svg)

```
[![Health](https://phpackages.com/badges/krak-symfony-util/health.svg)](https://phpackages.com/packages/krak-symfony-util)
```

PHPackages © 2026

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