yiisoft/translator
yiisoft/translator is a lightweight PHP translation library for managing messages, locales, and pluralization. Integrates with Yii and PSR-style components, supports multiple message sources and fallback locales, and is suitable for apps and libraries needing i18n.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| illuminate/translation | 0.89 | Illuminate Translation is Laravel’s translation engine, providing a Translator with loaders, language files, and fallback locales to resolve strings and pluralization. Supports namespaces, JSON translations, and runtime locale switching for multilingual PHP apps. | 69 | 73 | 11 | 497K | 0 | 0.7 | 53.2 | MIT | — | |
| astrotomic/laravel-translatable | 0.88 | Laravel package for translatable Eloquent models. Store model translations in the database and automatically fetch/save the correct locale with minimal code. Simplifies retrieving and persisting multilingual attributes across your app. | 1,399 | 1,408 | 178 | 171K | 28 | 50.2 | 46.1 | MIT | 1 week ago | |
| spatie/laravel-translation-loader | 0.88 | Store Laravel/Lumen translation strings in the database while keeping the familiar __() helper. Mix file and DB translations; DB values override files. Extendable to other translation sources via custom providers. | 836 | 839 | 91 | 104K | 0 | 36.2 | 34.1 | MIT | 1 month ago | |
| yiisoft/translator-message-php | 0.88 | PHP message source for Yii Translator that loads translations from PHP files/arrays. Provides a simple, fast backend for storing and retrieving localized messages, suitable for Yii apps needing file-based i18n without a database. | 14 | — | 9 | — | 0 | 20.3 | — | BSD-3-Clause | 4 months ago | |
| laminas/laminas-translator | 0.87 | Laminas Translator provides message translation for PHP apps, supporting multiple locales, pluralization, and translation files like gettext and PHP arrays. Includes adapters, loaders, and integration helpers to localize UI text cleanly across modules. | 3 | 3 | 3 | 624K | 2 | 21.8 | 65.5 | BSD-3-Clause | 3 months ago | |
| symfony/translation | 0.87 | Symfony Translation component for internationalizing PHP apps: create a Translator, load messages from arrays, files, or other loaders, handle locales and domains, and translate strings at runtime. Part of the Symfony ecosystem and works well standalone. | 6,618 | 6,658 | 90 | 14M | 0 | 57.3 | 53.8 | MIT | 1 week ago | |
| laravel-lang/lang | 0.87 | Community-maintained Laravel translation files for many locales. Adds localizations for core messages and validation, with easy Composer install and ongoing updates. Part of the Laravel Lang ecosystem; see docs for setup and contribution guidelines. | 7,773 | 7,800 | 2,990 | 410K | 0 | 70.5 | 28.1 | MIT | 2 weeks ago | |
| laravel-lang/status-generator | 0.87 | Dev tool for Laravel Lang that generates locale status by creating missing locales and downloading/copying translation files from Laravel projects (framework, laravel, jetstream). Provides CLI commands to create locales and fetch sources from URLs/paths. | 4 | 4 | 2 | 31K | 0 | 29.5 | 61.5 | MIT | 3 weeks ago | |
| google/cloud-translate | 0.86 | Idiomatic PHP client for Google Cloud Translation. Supports V2 (handwritten) and V3 (generated) APIs to translate text, detect language, and manage datasets/models. Auth via Google Cloud credentials; install with Composer for easy integration. | 201 | 208 | 22 | 455K | 0 | 31.0 | 54.5 | Apache-2.0 | 3 weeks ago | |
| laminas/laminas-i18n | 0.86 | Laminas I18n provides internationalization tools for Laminas apps, including translation services, locale and pluralization support, and integration with view helpers and validators. Use it to build multilingual, locale-aware PHP applications. | 78 | — | 38 | — | 17 | 27.5 | 11.2 | BSD-3-Clause | 3 months ago | |
| lorisleiva/cron-translator | 0.85 | Convert CRON expressions into human-readable schedules. Translate standard 5-field CRON strings like “*/2 * * * *” into phrases such as “Every 2 minutes”, with optional locale and 24-hour time formatting. Supports many languages (en, fr, de, es, etc.). | 314 | 314 | 61 | 362K | 2 | 28.7 | 50.2 | MIT | 1 week ago | |
| spatie/laravel-translatable | 0.85 | Add multilingual fields to Eloquent models using a simple HasTranslations trait. Store translations as JSON on the model (no extra tables). Set/get translations per locale, switch app locale, fetch all translations, and even translate nested JSON keys via -> notation. | 2,429 | 2,455 | 298 | 944K | 0 | 50.5 | 42.1 | MIT | 1 month ago | |
| zendframework/zend-i18n | 0.75 | Zend\I18n provides a full translation suite for PHP/Zend Framework: supports major translation formats, pluralization, and text domains. Translator is mostly dependency-free, using the Intl extension only for default locale fallback. Repository abandoned; moved to laminas/laminas-i18n. | 63 | 69 | 45 | 41K | 12 | 14.4 | 50.1 | BSD-3-Clause | 6 years ago |
How can I help you explore Laravel packages today?