Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Motranslator Laravel Package

phpmyadmin/motranslator

A PHP library for translating strings using Gettext MO files, with fast in-memory lookup, a Gettext-compatible API, and support for plural forms and contexts. No eval required.

View on GitHub
Deep Wiki
Context7
6.0.0

Changed

  • Added native type declarations

Removed

  • #48: Drop support for PHP 7.2, PHP 7.3, PHP 7.4, PHP 8.0 and PHP 8.1
5.4.0
  • Bump PHP minimum version to 7.2
  • Add support for Symfony 7
5.3.1
  • Add function guards to the global functions (#44)
5.3.0
  • Add support for Symfony 6
  • Split out .mo parsing to separate MoParser class
  • Added CacheInterface so alternate cache implementations are pluggable
  • Added ApcuCache implementation to leverage shared in-memory translation cache
5.2.0
  • Fix "Translator::selectString() must be of the type integer, boolean returned" (#37)
  • Fix "TypeError: StringReader::readintarray() ($count) must be of type int, float given" failing tests on ARM (#36)
  • Add support for getting and setting all translations (#30)
5.1.0
  • Allow PHPUnit 9 (#35)
  • Fix some typos
  • Sync config files
  • Allow PHP 8.0
5.0.0
  • Drop support for PHP 5.3, PHP 5.4, PHP 5.5, PHP 5.6, PHP 7.0 and HHVM
  • Enabled strict mode on PHP files
  • Add support for Symfony 5 (#34)
  • Add support for phpunit 8
  • Rename CHANGES.md to CHANGELOG.md and follow a standard format
4.0
  • The library no longer changes system locales.
3.4
  • Added Translator::setTranslation method.
3.3
  • Add support for switching locales for Loader instance.
3.2
  • Various fixes when handling corrupted mo files.
3.1
  • Documentation improvements.
3.0
  • All classes moved to the PhpMyAdmin namespace.
2.2
  • Coding style cleanup.
  • Avoid installing tests using composer.
2.1
  • Various code cleanups.
  • Added support for PHP 5.3.
2.0
  • Consistently use camelCase in API.
  • No more relies on using eval().
  • Depends on symfony/expression-language for calculations.
1.2
  • Stricter validation of plural expression.
1.1
  • Improved handling of corrupted mo files.
  • Minor performance improvements.
  • Stricter validation of plural expression.
1.0
  • Documentation improvements.
  • Testsuite improvements.
0.4
  • Fixed test failures with hhvm due to broken putenv.
0.3
  • Added Loader::detectlocale method.
0.2
  • Marked PHP 5.4 and 5.5 as supported.
0.1
  • Initial release.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log
hsluv/hsluv
seampact/codegen
seampact/hooks
seampact/ir
mehedimi/laravel-amp-mail
happones/laravel-vue-i18n-generator
jwerd/inertia-table