PHPackages                             sielatchom/translator - 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. sielatchom/translator

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

sielatchom/translator
=====================

A simple and developer-friendly PHP string translation library

1.0.1(4mo ago)03MITPHP

Since Jan 5Pushed 4mo agoCompare

[ Source](https://github.com/Chris-tech15/translator)[ Packagist](https://packagist.org/packages/sielatchom/translator)[ RSS](/packages/sielatchom-translator/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (3)Used By (0)

Sielatchom\\Translator
======================

[](#sielatchomtranslator)

[![PHP Version](https://camo.githubusercontent.com/187240af044d09d5b14a1d9d9ebdf3f7a993e4c7bc09bdb46b4ba661a891bf5b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322532422d626c7565)](https://camo.githubusercontent.com/187240af044d09d5b14a1d9d9ebdf3f7a993e4c7bc09bdb46b4ba661a891bf5b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e322532422d626c7565)[![License](https://camo.githubusercontent.com/5caa455d8debc46fb23abbadb45a733a937f3910a73fc875c2f7820468e1bb54/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e)](https://camo.githubusercontent.com/5caa455d8debc46fb23abbadb45a733a937f3910a73fc875c2f7820468e1bb54/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e)[![Packagist Version](https://camo.githubusercontent.com/5aa4b8462b47777c65e364af54ee2c6eed7b3382db4885f9173c63901b9e1fcd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7369656c617463686f6d2f7472616e736c61746f72)](https://camo.githubusercontent.com/5aa4b8462b47777c65e364af54ee2c6eed7b3382db4885f9173c63901b9e1fcd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7369656c617463686f6d2f7472616e736c61746f72)[![Downloads](https://camo.githubusercontent.com/4996c075cb48c4376f564a2b7b2be91c3f0f010592cd833bc07d1daad62f3e82/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7369656c617463686f6d2f7472616e736c61746f72)](https://camo.githubusercontent.com/4996c075cb48c4376f564a2b7b2be91c3f0f010592cd833bc07d1daad62f3e82/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7369656c617463686f6d2f7472616e736c61746f72)

**A simple and developer-friendly PHP string translation library**

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

[](#installation)

Install via Composer:

```
composer require sielatchom/translator
```

Description
-----------

[](#description)

`Sielatchom\Translator` provides a **simple API to translate strings**, allowing developers to add and remove a language with **lesser code**.
It is **PSR-4 compliant** and **extensible**

Usage
-----

[](#usage)

### Basic Examples

[](#basic-examples)

```
