Giter Site home page Giter Site logo

znd-servicemanager's Introduction

znd-servicemanager

master: Build Status Coverage Status develop: Build Status Coverage Status

Version

Release 1.0 created on 2018-11-26 by Frank Hein, maxence operations GmbH, Germany.

This version is based on Zend Service Manager 3.x and is backwards compatible with it.

Introduction

znd-servicemanager is a component compatible to zend-servicemanager 3.x. It can be used to substitute zend-servicemanager 3.x versions. Different from zend-servicemanager this component does not support PHP 5.6.

For znd-servicemanager we refactored several parts of zend-servicemanager for better performance. This includes configuration and setup, factory caching and service resolution.

znd-servicemanager will be kept compatible to zend-servicemanager. Changes to master and develop branches of zend-servicemanager will get merged into znd-servicemanager as appropriate and applicable.

Features

  • Speed up service manager configuration via configure()
  • Speed up service manager configuration via the APIs:
    • addAbstractFactory
    • addDelegator
    • addInitializer
    • mapLazyService
    • setAlias
    • setFactory
    • setInvokableClass
    • setService
    • setShared
  • Speed up service delivery for
    • aliases
    • delegators
    • invokables
    • abstract factories
  • Speed up service manager assets
    • ConfigAbstractFactory
  • Comprehensive benchmark suite

Installation

To install znd-servicemanager:

  1. Remove dependencies to zend-servicemanager from your project.

  2. Add a dependency to znd-servicemanager to your composer.json

    "require": {
        "mxc-commons/znd-servicemanager": "^1.0"
    }
  3. Configure PSR-4 compliant autoloading of the namespace Zend\ServiceManager. If you use the recommended way of composer based autoloading, add this configuration to your composer.json

    "autoload": {
        "psr-4": {
            "Zend\\ServiceManager\\": "src/"
        }
    },
  4. Run composer update

Now you can use Zend\ServiceManager the way you are used to use it. zend-servicemanager is transparently replaced by znd-servicemanager. znd-servicemanager instances get created by new Zend\ServiceManager\ServiceManager as before.

License

znd-servicemanager is provided under the New BSD License. See LICENSE.md.

Discussion

Platform for discussion of all things related to this fork is the issues section of mxc-commons/znd-servicemanager.

Status

Please refer to the CHANGELOG.md for a list of changes and enhancements. A comprehensive benchmark comparison is included for each version. A brief description of the benchmark tests is provided in BENCHMARKS.md.

Credits

This work is based on zend-servicemanager, which is part of the Zend Framework. This work would not have been possible without the work of Matthew Weier O'Phinney (@weierophinney) and the numerous people contributing to Zend Framework.

Unit tests are done using Sebastian Bergmann's PHPUnit unit testing framework (@sebastianbergmann).

Benchmarks are done using Daniel Leech's PHPBench benchmark framework (@dantleech).

znd-servicemanager's People

Contributors

weierophinney avatar maks3w avatar ocramius avatar fhein avatar evandotpro avatar akrabat avatar ezimuel avatar ralphschindler avatar bakura10 avatar marc-mabe avatar sgehrig avatar geeh avatar michalbundyra avatar samsonasik avatar mwillbanks avatar freeaqingme avatar dasprid avatar mxc-commons avatar kokx avatar snapshotpl avatar kokspflanze avatar thinkscape avatar demichl68 avatar mikaelkael avatar veewee avatar prolic avatar mpinkston avatar blanchonvincent avatar localheinz avatar coss avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.