PHPackages                             piotrkreft/eager-resettable-services-bundle - 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. piotrkreft/eager-resettable-services-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

piotrkreft/eager-resettable-services-bundle
===========================================

Flexible management of Symfony resettable services

v0.2.0(5y ago)044MITPHPPHP &gt;=7.2.5

Since May 23Pushed 5y ago1 watchersCompare

[ Source](https://github.com/piotrkreft/eager-resettable-services-bundle)[ Packagist](https://packagist.org/packages/piotrkreft/eager-resettable-services-bundle)[ RSS](/packages/piotrkreft-eager-resettable-services-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (6)Versions (3)Used By (0)

Eager resettable services bundle
================================

[](#eager-resettable-services-bundle)

[![CI](https://github.com/piotrkreft/eager-resettable-services-bundle/workflows/CI/badge.svg)](https://github.com/piotrkreft/eager-resettable-services-bundle/workflows/CI/badge.svg)[![Coverage Status](https://camo.githubusercontent.com/7a8ef7f2eb90db3dbd70f4ba8cdca49ca7be2d44491c8dd8d99bbe19529e8d6b/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f70696f74726b726566742f65616765722d72657365747461626c652d73657276696365732d62756e646c652f62616467652e737667)](https://coveralls.io/github/piotrkreft/eager-resettable-services-bundle)[![Mutation testing badge](https://camo.githubusercontent.com/4d45a2f4a5c59964864a32a6afae8eb0cc408f6b0b7c75e8f8efddb54ef88859/68747470733a2f2f696d672e736869656c64732e696f2f656e64706f696e743f7374796c653d666c61742675726c3d687474707325334125324625324662616467652d6170692e737472796b65722d6d757461746f722e696f2532466769746875622e636f6d25324670696f74726b7265667425324665616765722d72657365747461626c652d73657276696365732d62756e646c652532466d6173746572)](https://infection.github.io)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/4c22a443ea7a879c89978cb1fb0ef1267c388670cf2dd875fc71568785c52af0/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f70696f74726b726566742f65616765722d72657365747461626c652d73657276696365732d62756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/piotrkreft/eager-resettable-services-bundle/?branch=master)

Symfony bundle for eager instantiating resettable services.

Introduction
------------

[](#introduction)

For some edge cases it might be required that service gets reset regardless of being referenced by other services.

An example of that would be `doctrine` Registry holding Entity Managers. It does not reset managers unless it is being referenced by other services and therefore instantiated by the container.

This bundle by the configuration allows you to reconfigure services to be eagerly instantiated within Services Resetter.

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

[](#installation)

```
composer require piotrkreft/eager-resettable-services-bundle
```

Usage
-----

[](#usage)

[example configuration](tests/Fixtures/Resources/config/config.yaml)

Alternatively all services can be eager loaded wth `all_services` configuration flag.

### Testing

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

License
-------

[](#license)

The MIT License (MIT). Please see [LICENSE](LICENSE) for more information.

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

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

Total

2

Last Release

2151d ago

PHP version history (2 changes)v0.1.0PHP ^7.3

v0.2.0PHP &gt;=7.2.5

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

dependency-injectionservices-resettersymfonysymfony-bundle

### Embed Badge

![Health badge](/badges/piotrkreft-eager-resettable-services-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/piotrkreft-eager-resettable-services-bundle/health.svg)](https://phpackages.com/packages/piotrkreft-eager-resettable-services-bundle)
```

###  Alternatives

[symfony/ux-chartjs

Chart.js integration for Symfony

1003.2M18](/packages/symfony-ux-chartjs)[codefog/contao-haste

haste extension for Contao Open Source CMS

42650.8k139](/packages/codefog-contao-haste)[spomky-labs/pwa-bundle

Progressive Web App Manifest Generator Bundle for Symfony.

6144.4k1](/packages/spomky-labs-pwa-bundle)[symfony/ux-cropperjs

Cropper.js integration for Symfony

19280.3k3](/packages/symfony-ux-cropperjs)[netgen/content-browser

Netgen Content Browser is a Symfony bundle that provides an interface which selects items from any kind of backend and returns the IDs of selected items back to the calling code.

14112.1k8](/packages/netgen-content-browser)[pentiminax/ux-datatables

DataTables.net integration for Symfony

605.6k](/packages/pentiminax-ux-datatables)

PHPackages © 2026

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