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
  • Copyright
  • Edit on GitHub

Copyright

Copyright © 2021-2025, Skillshare, Inc. and FormatPHP Contributors

Documentation for FormatPHP is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/ or send a letter to Creative Commons, PO Box 1866, Mountain View, CA 94042, USA.

FormatPHP is open source software: you can distribute it and/or modify it under the terms of the MIT License (the “License”). You may not use FormatPHP except in compliance with the License.

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

You should have received a copy of the MIT License along with this program. If not, see https://opensource.org/license/mit/.

Previous

© Copyright 2021-2025, Skillshare, Inc and FormatPHP Contributors.

Built with Sphinx using a theme provided by Read the Docs.