Skip to content

๐ŸŒ Internationalize PHP apps. This library provides an API to format dates, numbers, and strings, including pluralization and handling translations.

License

Notifications You must be signed in to change notification settings

Skillshare/formatphp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

91 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Skillshare

FormatPHP

Source Code Download Package PHP Programming Language Read License Build Status Codecov Code Coverage Psalm Type Coverage

A library to help internationalize PHP apps.
Made with โค๏ธ by Skillshare Engineering

About

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.

Installation

Install this package as a dependency using Composer.

composer require skillshare/formatphp

Usage

For usage details and examples, see the full documentation at docs.formatphp.dev.

Contributing

Contributions are welcome! To contribute, please familiarize yourself with CONTRIBUTING.md.

Coordinated Disclosure

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.

Copyright and License

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.