Registry / utility / sylius-locale

sylius-locale

JSON →
library2.2.5phppackagistunverified

Locale handling for PHP applications.

composer require sylius/locale
INSTALL
IMPORT
SIG · SYLIUS-LOCALE
S
sylius-locale
utilityphpv2.2.5
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

LocaleContextInterface
✓ use Sylius\Component\Locale\Context\LocaleContextInterface;

Get the current locale code

use Sylius\Component\Locale\Context\LocaleContextInterface; /** @var LocaleContextInterface $localeContext */ $localeCode = $localeContext->getLocaleCode(); echo $localeCode;
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.2.5latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
29 hits · last 30 days
node
26
Resources
sylius-locale — pip install sylius-locale · libregistry