FormatPHP
Getting Started
Requirements
Install With Composer
Using FormatPHP
Formatting Strings
Formatting Messages
formatMessage()
Placeholders
Pluralization and Complex Arguments
Localization
Rich Text Formatting (Use of Tags in Messages)
Formatting Dates & Times
Formatting Dates
Formatting Times
Formatting Numbers & Currency
Formatting Numbers
Formatting Currency
Formatting Display Names
Localize a Language Name
Localize a Currency Name
Localize a Region Name
Localize a Script Name
Extracting & Loading Strings
Using the Console Command To Extract Messages
Using MessageLoader to Load Messages
Testing With Pseudo Locales
TMS Support
Custom Formatters
Reference
Intl\DateTimeFormatOptions
General Formatting
Specific Formatting
Additional Options
Intl\DisplayNamesOptions
Intl\NumberFormatOptions
Notation & Style
General Options
Fraction Options
Currency Options
Unit Options
Compact Options
Copyright
FormatPHP
»
Search
Please activate JavaScript to enable the search functionality.