thinframe/applications
Composer 安装命令:
composer require thinframe/applications
包简介
PHP applications ecosystem
README 文档
README
#ThinFrame Applications
ThinFrame Applications is a PHP library build on top of Symfony2 Dependency Injection Container (S2DiC) that provides an abstract use over any PHP library/component.
Using the S2DiC, you can define what services your component provides, which extensions/compiler passes it uses and some other details. This way, when you want to use a specific component, you don't have to worry about configuring it the right way or other related things. Just instantiate that specific app and request the service you need.
Each app contains the following things:
- A container builder for S2DiC
- A application name
- A list of applications that are used
- Configuration files (standard S2DiC yml files)
Each app contains it's own container builder, but when they are chained, the top level app that you are using will merge all parent container builders into it's own. So, you will get a single container builder with all the services already configured.
##Features:
- Application specific dependency injection container
- Chained applications
- Advanced configuration for S2DiC
- Supports aware objects, so when you request a service, it will be automaticaly injected with the needed dependency.
##Installation:
- via Composer:
"thinframe/applications":"@stable"
##Copyright
- MIT License - Sorin Badea sorin.badea91@gmail.com
统计信息
- 总下载量: 10.15k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 7
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2013-11-11