Download the PHP package setono/sylius-static-contexts-bundle without Composer
On this page you can find all versions of the php package setono/sylius-static-contexts-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download setono/sylius-static-contexts-bundle
More information about setono/sylius-static-contexts-bundle
Files in setono/sylius-static-contexts-bundle
Download setono/sylius-static-contexts-bundle
More information about setono/sylius-static-contexts-bundle
Files in setono/sylius-static-contexts-bundle
Vendor setono
Package sylius-static-contexts-bundle
Short Description A Symfony bundle that gives you static contexts
License MIT
Package sylius-static-contexts-bundle
Short Description A Symfony bundle that gives you static contexts
License MIT
Please rate this library. Is it a good library?
Informations about the package sylius-static-contexts-bundle
Sylius Static Contexts Bundle
Provides static channel and locale contexts for Sylius. This allows you to set the channel and locale programmatically instead of relying on HTTP request resolution — useful for CLI commands, message handlers, and testing.
Both contexts are registered at priority 256, so they take precedence over Sylius's default request-based contexts whenever a value is set.
Requirements
- PHP >= 8.2
- Symfony ^6.4 || ^7.4
- Sylius v2
For Sylius v1 support, use the
1.xbranch.
Installation
Usage
Setting the channel
Setting the locale
All versions of sylius-static-contexts-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.2
sylius/channel Version ^2.0
sylius/locale Version ^2.0
symfony/config Version ^6.4 || ^7.4
symfony/dependency-injection Version ^6.4 || ^7.4
symfony/http-kernel Version ^6.4 || ^7.4
symfony/service-contracts Version ^3.0
sylius/channel Version ^2.0
sylius/locale Version ^2.0
symfony/config Version ^6.4 || ^7.4
symfony/dependency-injection Version ^6.4 || ^7.4
symfony/http-kernel Version ^6.4 || ^7.4
symfony/service-contracts Version ^3.0
The package setono/sylius-static-contexts-bundle contains the following files
Loading the files please wait ...