simplesilex/silex-i18n

Silex internationalization tools

v0.2.11 2015-01-06 00:27 UTC

This package is auto-updated.

Last update: 2024-10-22 19:26:41 UTC


README

Build Status

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. Links

  • The DateServiceProvider makes it easy to create custom date formats. Learn more. Dates

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.