mxc-commons/znd-servicemanager
Composer 安装命令:
composer require mxc-commons/znd-servicemanager
包简介
zend-servicemanager 3.2 refactored for much better performance.
关键字:
README 文档
README
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.
- File issues, ask and discuss at the issues section of znd-servicemanager
- Online documentation of zend-servicemanager
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:
-
Remove dependencies to zend-servicemanager from your project.
-
Add a dependency to znd-servicemanager to your composer.json
"require": { "mxc-commons/znd-servicemanager": "^1.0" }
-
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/" } },
-
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).
mxc-commons/znd-servicemanager 适用场景与选型建议
mxc-commons/znd-servicemanager 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6 次下载、GitHub Stars 达 0, 最近一次更新时间为 2018 年 11 月 28 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「di」 「dic」 「ZendFramework」 「zf」 「dependency-injection」 「services」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 mxc-commons/znd-servicemanager 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 mxc-commons/znd-servicemanager 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 mxc-commons/znd-servicemanager 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
Supporing Symfony's DependencyInjection component for your symfony1 project
PHP 8.1-8.5 compatible fork of rdlowrey/auryn — a dependency injector for bootstrapping object-oriented PHP applications.
A module manager for Zend Framework which can be used to create configs per domain.
Powerful class discovery system for Laravel with attribute-based scanning, directory traversal, and monorepo support
ZF2 module for Doctrine 1.x integration
Validation Rat adapter for Zend Framework Validators
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 20
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2018-11-28