Registry / utility / hyperf-translation

hyperf-translation

JSON →
library3.1.63phppackagistunverified

An independent translation component, forked by illuminate/translation.

composer require hyperf/translation
INSTALL
IMPORT
SIG · HYPERF-TRANSLATION
H
hyperf-translation
utilityphpv3.1.63
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Translator
use Hyperf\Translation\Translator;

Translate a key using the translator.

<?php use Hyperf\Translation\Translator; $translator = new Translator(new \Hyperf\Translation\MessageSelector(), 'en'); echo $translator->get('messages.welcome');
Debug
Known issues
gotchaForked from illuminate/translation; may have slight API differences.
fix
Check the documentation for any breaking changes from Laravel's version.
affects: >=3.0
Upgrade
Version history
3.1.63latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
hyperf-translation — pip install hyperf-translation · libregistry