haitham / country-code-translation
This bundles translate given country codes to names
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.5.9
- doctrine/doctrine-bundle: ^1.6
- doctrine/orm: ^2.5
- incenteev/composer-parameter-handler: ^2.0
- sensio/distribution-bundle: ^5.0.19
- sensio/framework-extra-bundle: ^5.0.0
- symfony/monolog-bundle: ^3.1.0
- symfony/polyfill-apcu: ^1.0
- symfony/symfony: 3.4.*
- twig/twig: ^1.0||^2.0
This package is not auto-updated.
Last update: 2024-05-03 01:47:33 UTC
README
This bundles translate given country codes to names
{{ "TN" |country }} #default locale <-- OR --> {{ "TN" |country("en") }} #given locale
INSTALLATION via Composer
composer require haitham/country-code-translation
CONFIGURATION
Register the bundle:
// app/AppKernel.php public function registerBundles() { $bundles = array( // ... new haitham\countriesBundle\haithamcountriesBundle(), ); // ... }