A library to help internationalize PHP apps.
Made with ❤️ by Skillshare Engineering
Inspired by FormatJS and ECMAScript 2023 Internationalization API (ECMA-402), this library provides an API to format dates, numbers, and strings, including pluralization and translation. FormatPHP is powered by PHP's intl extension and integrates with Unicode CLDR and ICU Message syntax standards. It requires libicu version 69.1 or higher.
This project adheres to a code of conduct. By participating in this project and its community, you are expected to uphold this code.
Install this package as a dependency using Composer.
composer require skillshare/formatphp
For usage details and examples, see the full documentation at docs.formatphp.dev.
Contributions are welcome! To contribute, please familiarize yourself with CONTRIBUTING.md.
Keeping user information safe and secure is a top priority, and we welcome the contribution of external security researchers. If you believe you've found a security issue in software that is maintained in this repository, please read SECURITY.md for instructions on submitting a vulnerability report.
The skillshare/formatphp library is copyright © Skillshare, Inc. and licensed for use under the terms of the MIT License (MIT). Please see LICENSE for more information.