Registry / web-framework / sonata-project-intl-bundle

sonata-project-intl-bundle

JSON →
library3.3.0phppackagistunverified

Symfony bundle providing internationalization features for Sonata projects.

composer require sonata-project/intl-bundle
INSTALL
IMPORT
SIG · SONATA-PROJECT-INT
S
sonata-project-intl-bundle
web-frameworkphpv3.3.0
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.

DateTimeExtension
use Sonata\IntlBundle\Twig\Extension\DateTimeExtension;

Format a date using the bundle's Twig extension.

use Sonata\IntlBundle\Twig\Extension\DateTimeExtension; $extension = new DateTimeExtension(); echo $extension->formatDate(new \DateTime(), 'yyyy-MM-dd');
Debug
Known issues
gotchaRequires Symfony framework and SonataAdminBundle for full functionality.
fix
Install SonataAdminBundle if using admin features.
affects: >=3.0.0
Upgrade
Version history
3.3.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
12
Resources
sonata-project-intl-bundle — pip install sonata-project-intl-bundle · libregistry