f00b4r / php-gettext
Fixed php-gettext for PHP 5.6 - 8.0
Fund package maintenance!
f3l1x
contributte.org/partners.html
Installs: 5 231
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/f00b4r/php-gettext
Requires
- php: >=8.2
Requires (Dev)
- contributte/phpstan: ^0.1.0
- contributte/qa: ^0.4.0
- contributte/tester: ^0.3.0
This package is auto-updated.
Last update: 2025-12-29 19:16:23 UTC
README
This library provides PHP functions to read MO files even when gettext is not compiled in or when appropriate locale is not present on the system.
🕹 f3l1x.io | 💻 f3l1x | 🐦 @xf3l1x
All credits belongs to official authors, take a look at launchpad.net/php-gettext
Info
- Supported PHP: 5.6 - 8.0
- Official project: https://launchpad.net/php-gettext
Installation
To install this library use Composer.
composer require f00b4r/php-gettext
Usage
$streamer = new CachedFileReader(__DIR__ . '/messages.mo'); $gettext = new gettext_reader($streamer);
Development
See how to contribute to this package.
This package is currently maintaining by these authors.
Consider to support f3l1x. Also thank you for using this package.