PHPackages                             reinfi/zf-optimized-servicemanager - 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. [Framework](/categories/framework)
4. /
5. reinfi/zf-optimized-servicemanager

ActiveLibrary[Framework](/categories/framework)

reinfi/zf-optimized-servicemanager
==================================

A Zend Framework module for optimizing service manager calls.

039PHP

Since Sep 5Pushed 8y ago1 watchersCompare

[ Source](https://github.com/reinfi/zf-optimized-servicemanager)[ Packagist](https://packagist.org/packages/reinfi/zf-optimized-servicemanager)[ RSS](/packages/reinfi-zf-optimized-servicemanager/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Build Status](https://camo.githubusercontent.com/6bd045465a8f40d6c76b4149f1c2d5b5f89be8dd59ecc156be274fbb387723ac/68747470733a2f2f7472617669732d63692e6f72672f7265696e66692f7a662d6f7074696d697a65642d736572766963656d616e616765722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/reinfi/zf-optimized-servicemanager)[![Code Climate](https://camo.githubusercontent.com/802dcfb2003cf0b3a1fad564c6be5d450fba5d6be6773ebe22d27ccfd47ca16f/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f7265696e66692f7a662d6f7074696d697a65642d736572766963656d616e616765722f6261646765732f6770612e737667)](https://codeclimate.com/github/reinfi/zf-optimized-servicemanager)[![Coverage Status](https://camo.githubusercontent.com/d7fcd6151b1500a322888e8cea5f300c0f6532e5e7d8e11be07e09bf860e8538/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7265696e66692f7a662d6f7074696d697a65642d736572766963656d616e616765722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/reinfi/zf-optimized-servicemanager?branch=master)

Module is under development, there may be a lot of bugs at this moment.
-----------------------------------------------------------------------

[](#module-is-under-development-there-may-be-a-lot-of-bugs-at-this-moment)

Generate an optimized service manager for zend framework.

1. [Installation](#installation)
2. [Console commands](#console-commands)

### Installation

[](#installation)

1. Install with Composer: `composer require reinfi/zf-optimized-servicemanager`.
2. Enable the module via ZF2 config in `appliation.config.php` under `modules` key:

```
    return [
        'modules' => [
            'Reinfi\OptimizedServiceManager',
            // other modules
        ],
    ];
```

3. Change Application class within index.php to Reinfi\\OptimizedServiceManager\\Mvc\\Application`
4. Use console command to generate optimized service manager.

### Console commands

[](#console-commands)

- Generate servicemanager: `php public/index.php reinfi:optimize service-manager`Generates an optimized service manager based on your current configuration.

    Options

    \--with-initializers : generate initializers if you still use them (they are deprecated)

    \--canonicalize-names : also add canonicalized names to service manager

    \--try-autowire : try autowiring during generation of service manager

### FAQ

[](#faq)

Feel free to ask any questions or open own pull requests.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

dependency-injectionoptimizationservicemanagerzend-framework

### Embed Badge

![Health badge](/badges/reinfi-zf-optimized-servicemanager/health.svg)

```
[![Health](https://phpackages.com/badges/reinfi-zf-optimized-servicemanager/health.svg)](https://phpackages.com/packages/reinfi-zf-optimized-servicemanager)
```

###  Alternatives

[laravel/socialite

Laravel wrapper around OAuth 1 &amp; OAuth 2 libraries.

5.7k104.3M836](/packages/laravel-socialite)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k38.6M289](/packages/laravel-dusk)[nineinchnick/edatatables

Grid widget for the Yii Framework, wrapper for the DataTables jQuery plugin

173.2k](/packages/nineinchnick-edatatables)[link-cloud/fast-hyperf

LinkCloud Fast Hyperf

241.2k1](/packages/link-cloud-fast-hyperf)

PHPackages © 2026

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