PHPackages                             cekurte/silex-translation-provider - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. cekurte/silex-translation-provider

ActiveLibrary[Localization &amp; i18n](/categories/localization)

cekurte/silex-translation-provider
==================================

A silex service provider that adds loader (translation) from yaml files

v0.0.6(10y ago)0681MITPHPPHP &gt;=5.5

Since Sep 28Pushed 10y agoCompare

[ Source](https://github.com/jpcercal/silex-translation-provider)[ Packagist](https://packagist.org/packages/cekurte/silex-translation-provider)[ RSS](/packages/cekurte-silex-translation-provider/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (9)Versions (8)Used By (1)

SilexTranslationProvider
========================

[](#silextranslationprovider)

[![Build Status](https://camo.githubusercontent.com/1f998e8007bc7874d9c2a91998af8134de36b9bbcdcbaedad9569cef41b6b3ea/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6a7063657263616c2f73696c65782d7472616e736c6174696f6e2d70726f76696465722f6d61737465722e7376673f7374796c653d737175617265)](http://travis-ci.org/jpcercal/silex-translation-provider)[![Code Climate](https://camo.githubusercontent.com/c754c4b1e1c5737e3695e4092a9d7d5d913bba66166d11c1a397db50fc7cc0ed/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6a7063657263616c2f73696c65782d7472616e736c6174696f6e2d70726f76696465722f6261646765732f6770612e737667)](https://codeclimate.com/github/jpcercal/silex-translation-provider)[![Coverage Status](https://camo.githubusercontent.com/26c2cd60ebd969a2edb37e73a91b3e9bdfa5966fe62087afac82a09ccb98cd5e/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6a7063657263616c2f73696c65782d7472616e736c6174696f6e2d70726f76696465722f62616467652e737667)](https://coveralls.io/r/jpcercal/silex-translation-provider)[![Latest Stable Version](https://camo.githubusercontent.com/8d718a2b57f02c097691a3d7f4ea64a8a69e5d82b0f8a4bca9ae056a1fe0e9d1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f63656b757274652f73696c65782d7472616e736c6174696f6e2d70726f76696465722e7376673f7374796c653d737175617265)](https://packagist.org/packages/cekurte/silex-translation-provider)[![License](https://camo.githubusercontent.com/632bfccc27131c0b88c5fe7fb11534b7e73cfbc6e040c6e59e3a0b10b67f6ac4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f63656b757274652f73696c65782d7472616e736c6174696f6e2d70726f76696465722e7376673f7374796c653d737175617265)](https://packagist.org/packages/cekurte/silex-translation-provider)[![SensioLabsInsight](https://camo.githubusercontent.com/9cc40b3837104b37d4ad9ae0a3cb8c600944b8c0fb4ab569bc4c6a010d46b43f/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f34396636626431372d386635362d343838372d613235342d3065613232376664633330662f6d696e692e706e67)](https://insight.sensiolabs.com/projects/49f6bd17-8f56-4887-a254-0ea227fdc30f)

- A simple silex service provider (with all methods covered by php unit tests) that adds the Yaml files to the [Silex\\Provider\\TranslationServiceProvider](https://github.com/silexphp/Silex/blob/1.3/src/Silex/Provider/TranslationServiceProvider.php) to increase the power of your application, **contribute with this project**!

Installation
------------

[](#installation)

The package is available on [Packagist](http://packagist.org/packages/cekurte/silex-translation-provider). The source files is [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md) compatible. Autoloading is [PSR-4](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md) compatible.

```
composer require cekurte/silex-translation-provider
```

Documentation
-------------

[](#documentation)

To use this library you need register the [Cekurte\\Silex\\Translation\\Provider\\TranslationServiceProvider](https://github.com/jpcercal/silex-translation-provider/blob/v0.0.1/src/Provider/TranslationServiceProvider.php).

```
