izzle / translation
Izzle Translation Library and Classes
Installs: 75
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/izzle/translation
Requires
- php: >=7.1
- hassankhan/config: ^2.2
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.17
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2025-10-06 19:01:30 UTC
README
Simple Translation Lib
Installation
Using npm:
$ composer require izzle/translation
Usage
use Izzle\Translation\Services\Translation; // Init and load translation file $translation = new Translation('paht_to_file.json'); // Translate // Ex. { "global": { "hello": "Hello {0}" } }" echo $translation->translate('global.hello', ['World']);
Output
Hello World
License
Copyright (c) 2020-present Izzle