pavelmaksimov25 / app-di
项目代码用于添加Symfony的DependencyInjection容器
dev-main
2024-01-16 13:31 UTC
Requires
- php: >=8.1
- spryker/application: ^3.35.0
- spryker/console: ^4.12.0
- spryker/router: ^1.17
- symfony/dependency-injection: ^6.0 || ^7.0
- symfony/framework-bundle: ^6.0 || ^7.0
Requires (Dev)
- codeception/codeception: ^5.0.0
- codeception/module-asserts: ^3.0.0
- codeception/module-cli: ^2.0.0
- codeception/module-filesystem: ^3.0.0
- codeception/module-phpbrowser: ^3.0.0
- codeception/module-rest: ^3.0.0
- codeception/module-webdriver: ^3.0.0
- codeception/phpunit-wrapper: ^9.0.0
- codeception/stub: ^4.0.0
- infection/codeception-adapter: ^0.4.2
- infection/infection: ^0.27.8
- rector/rector: ^0.18.0
- spryker-sdk/phpstan-spryker: ^0.4.0
- spryker-sdk/security-checker: ^0.2.0
- spryker/code-sniffer: ^0.17.10
- spryker/testify: ^3.49.0
This package is auto-updated.
Last update: 2024-09-16 15:02:12 UTC
README
许可证: MIT
此包将Symfony的DependencyInjection组件集成到Spryker中。
安装
composer require spryker-project/di
配置
要启用代码,您需要更新您的config_default.php文件
$config[KernelConstants::CORE_NAMESPACES] = [ 'SprykerProject', 'Spryker', ];
这将启用项目中的代码。现在SprykerProject文件将在Spryker文件之前加载。