BSD Ports

textproc/php-intl 5.6.40nb17 NetBSD

PHP extension for i18n

System
NetBSD
Repository
pkgsrc
License
php
Categories
textproc, www
Package size
122.5 KiB, 465.6 KiB installed

Description

PHP is a programming language designed to be embedded into web pages. This module is an internationalization extension, enabling PHP programmers to perform UCA-conformant collation and date/time/number/currency formatting in their scripts. It tends to closely follow ICU APIs, so that people having experience working with ICU in either C/C++ or Java could easily use the PHP API. Also, this way ICU documentation would be useful to understand various ICU functions. Intl consists of several modules, each of them exposes the corresponding ICU API: * Collator: provides string comparison capability with support for appropriate locale-sensitive sort orderings. * Number Formatter: allows to display number according to the localized format or given pattern or set of rules, and to parse strings into numbers. * Message Formatter: allows to create messages incorporating data (such as numbers or dates) formatted according to given pattern and locale rules, and parse messages extracting data from them. * Normalizer: provides a function to transform text into one of the Unicode normalization forms, and provides a routine to test if a given string is already normalized. * Locale: provides interaction with locale identifiers in the form of functions to get subtags from locale identifier; parse, compose, match(lookup and filter) locale identifiers.

Install

Binary package:

pkgin install php56-intl

From pkgsrc:

cd /usr/pkgsrc/textproc/php-intl && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_645.6.40nb17
NetBSD 10.1 aarch648.5.9nb17
SmartOS / illumos x86_645.6.40nb17
macOS 15 arm648.2.34nb17

Dependencies

Run dependencies 2

Configuration

No options to configure.

Service scripts
none
Flavors
php74-intl-7.4.33nb17, php82-intl-8.2.33nb17, php83-intl-8.3.33nb17, php84-intl-8.4.25nb17, php85-intl-8.5.10nb17