guym4c / php-s3-intl
i18n for PHP, storing langpacks on S3
v1.0.2
2020-10-18 17:44 UTC
Requires
- ext-json: *
- aws/aws-sdk-php: ^3.158
- doctrine/cache: ^1.10
- guzzlehttp/guzzle: ^6.3
- psr/http-message: ^1.0
- shrikeh/teapot: ^2.3
- twig/twig: ^3.0
- voku/portable-utf8: ^5.4
This package is auto-updated.
Last update: 2025-03-19 03:35:47 UTC
README
A library for managing and using internationalised text in a web application, using S3 for storage.
Comes batteries-included, with caching & CDN support, and a Twig extension in the box.
What it will look like
- You store JSON
key => value
FormatJS-style langpacks on S3. - You edit these directly, or through an interface you've built using the hooks this package makes available to you.
- You cache the langpacks near or on your app server forever, until flushed.
Install
via Composer:
composer require guym4c/php-s3-intl
Docs WIP