simplesilex / silex-i18n
Silex internationalization tools
Requires
- php: >=5.3.3
- silex/silex: 1.2.*@dev
- symfony/translation: >=2.3,<2.6-dev
- symfony/twig-bridge: >=2.3,<2.6-dev
Requires (Dev)
- phpunit/phpunit: ~3.7
- symfony/browser-kit: >=2.3,<2.6-dev
- symfony/css-selector: >=2.3,<2.6-dev
Suggests
- symfony/config: >=2.3,<2.6-dev
- symfony/yaml: >=2.3,<2.6-dev
This package is auto-updated.
Last update: 2024-10-22 19:26:41 UTC
README
Silex internationalization tools based on Silex micro-framework, Symfony2 components and Twig.
Silex-i18n works with PHP 5.3.3 or later.
Version 1.0 will be based on symfocode/twig-i18n.
Version 0.3 will be transitional version, and will maintain the current code.
Features
-
The LinkServiceProvider makes it easy to create locale links. Learn more.
-
The DateServiceProvider makes it easy to create custom date formats. Learn more.
Installation
The recommended way to install Silex-i18n is through
composer. Just create a composer.json
file and
run the php composer.phar install
command to install it:
{ "require": { "simplesilex/silex-i18n": "~0.2" } }
Tests
To run the test suite, you need composer.
$ php composer.phar install --dev
$ phpunit
License
Silex-i18n is licensed under the MIT license.