pavelmaksimov25 / app-di
Project Code to add Symfony's DependencyInjection container
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-11-16 15:16:24 UTC
README
License: MIT
This package integrates Symfony's DependencyInjection component into Spryker.
Installation
composer require spryker-project/di
Configuration
To enable the code you need to update your config_default.php file:
$config[KernelConstants::CORE_NAMESPACES] = [ 'SprykerProject', 'Spryker', ];
This will enable the code in your project. SprykerProject files will now be loaded before Spryker files.