PHPackages                             danidoble/translation - 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. danidoble/translation

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

danidoble/translation
=====================

translate with json file

v0.0.2(4y ago)11181MITPHPPHP ^7.3|^8.0

Since May 29Pushed 4y ago1 watchersCompare

[ Source](https://github.com/danidoble/translation)[ Packagist](https://packagist.org/packages/danidoble/translation)[ Docs](https://github.com/danidoble/translation)[ RSS](/packages/danidoble-translation/feed)WikiDiscussions main Synced today

READMEChangelog (1)DependenciesVersions (3)Used By (1)

Translation
===========

[](#translation)

This package is useful for easy translation, you only need one o many files of languages in .json

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

[](#installation)

```
composer require danidoble/translation

```

You need make a file .json and give the directory by parameter to apply the config

Example Directory:

```
Lang ---|
        | es.json
        | br.json

```

Instantiate to apply config in constant

```
