php-patchwork-utf8_1.3.1-1_all.deb


Advertisement

Description

php-patchwork-utf8 - UTF-8 strings handling for PHP

Property Value
Distribution Ubuntu 17.10 (Artful Aardvark)
Repository Ubuntu Universe i386
Package name php-patchwork-utf8
Package version 1.3.1
Package release 1
Package architecture all
Package type deb
Installed size 3.45 KB
Download size 281.09 KB
Official Mirror archive.ubuntu.com
Patchwork UTF-8 provides both a portability layer for mbstring, iconv, and
intl Normalizer and grapheme_* functions, and an UTF-8 grapheme clusters
aware replica of native string functions.
Patchwork UTF-8 provides pure PHP implementations for mbstring, iconv, and
intl. The following set of portability-fallbacks allows an application to run
on a server even if one or more of those extensions are not enabled:
* utf8_encode, utf8_decode,
* mbstring: mb_check_encoding, mb_convert_case, mb_convert_encoding,
mb_convert_variables, mb_decode_mimeheader, mb_detect_encoding,
mb_detect_order, mb_encode_mimeheader, mb_encoding_aliases, mb_get_info,
mb_http_input, mb_http_output, mb_internal_encoding, mb_language,
mb_list_encodings, mb_output_handler, mb_strlen, mb_strpos, mb_strrpos,
mb_strtolower, mb_strtoupper, mb_stripos, mb_stristr, mb_strrchr,
mb_strrichr, mb_strripos, mb_strstr, mb_strwidth, mb_substitute_character,
mb_substr, mb_substr_count,
* iconv: iconv, iconv_mime_decode, iconv_mime_decode_headers,
iconv_get_encoding, iconv_set_encoding, iconv_mime_encode,
ob_iconv_handler, iconv_strlen, iconv_strpos, iconv_strrpos, iconv_substr,
* intl: Normalizer, grapheme_extract, grapheme_stripos, grapheme_stristr,
grapheme_strlen, grapheme_strpos, grapheme_strripos, grapheme_strrpos,
grapheme_strstr, grapheme_substr.
The Patchwork\Utf8 class implements the quasi-complete set of native string
functions that need UTF-8 grapheme clusters awareness. Function names,
arguments and behavior carefully replicates native PHP string functions.
Some more functions are also provided to help handling UTF-8 strings:
* filter(): normalizes to UTF-8 NFC, converting from CP-1252 when needed,
* isUtf8(): checks if a string contains well formed UTF-8 data,
* toAscii(): generic UTF-8 to ASCII transliteration,
* strtocasefold(): unicode transformation for caseless matching,
* strtonatfold(): generic case sensitive transformation for collation
matching,
* strwidth(): computes the width of a string when printed on a terminal,
* wrapPath(): unicode filesystem access under Windows and other OSes.
Mirrored string functions are: strlen, substr, strpos, stripos, strrpos,
strripos, strstr, stristr, strrchr, strrichr, strtolower, strtoupper,
wordwrap, chr, count_chars, ltrim, ord, rtrim, trim, str_ireplace, str_pad,
str_shuffle, str_split, str_word_count, strcmp, strnatcmp, strcasecmp,
strnatcasecmp, strncasecmp, strncmp, strcspn, strpbrk, strrev, strspn, strtr,
substr_compare, substr_count, substr_replace, ucfirst, lcfirst, ucwords,
number_format, utf8_encode, utf8_decode, json_decode,
filter_input, filter_input_array.

Alternatives

Package Version Architecture Repository
php-patchwork-utf8_1.3.1-1_all.deb 1.3.1 all Ubuntu Universe
php-patchwork-utf8 - - -

Requires

Name Value
libpcre3 >= 7.3
php-common -

Download

Type URL
Binary Package php-patchwork-utf8_1.3.1-1_all.deb
Source Package php-patchwork-utf8

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install php-patchwork-utf8 deb package:
    # sudo apt-get install php-patchwork-utf8

Files

Path
/usr/share/doc/php-patchwork-utf8/README.md.gz
/usr/share/doc/php-patchwork-utf8/changelog.Debian.gz
/usr/share/doc/php-patchwork-utf8/copyright
/usr/share/php/Normalizer.php
/usr/share/php/Patchwork/TurkishUtf8.php
/usr/share/php/Patchwork/Utf8.php
/usr/share/php/Patchwork/PHP/Shim/Iconv.php
/usr/share/php/Patchwork/PHP/Shim/Intl.php
/usr/share/php/Patchwork/PHP/Shim/Mbstring.php
/usr/share/php/Patchwork/PHP/Shim/Normalizer.php
/usr/share/php/Patchwork/PHP/Shim/Xml.php
/usr/share/php/Patchwork/Utf8/BestFit.php
/usr/share/php/Patchwork/Utf8/Bootup.php
/usr/share/php/Patchwork/Utf8/autoload.php
/usr/share/php/Patchwork/Utf8/Bootup/iconv.php
/usr/share/php/Patchwork/Utf8/Bootup/intl.php
/usr/share/php/Patchwork/Utf8/Bootup/mbstring.php
/usr/share/php/Patchwork/Utf8/Bootup/utf8_encode.php
/usr/share/php/data/Patchwork/charset/from.big5.ser
/usr/share/php/data/Patchwork/charset/from.cp037.ser
/usr/share/php/data/Patchwork/charset/from.cp1006.ser
/usr/share/php/data/Patchwork/charset/from.cp1026.ser
/usr/share/php/data/Patchwork/charset/from.cp424.ser
/usr/share/php/data/Patchwork/charset/from.cp437.ser
/usr/share/php/data/Patchwork/charset/from.cp500.ser
/usr/share/php/data/Patchwork/charset/from.cp737.ser
/usr/share/php/data/Patchwork/charset/from.cp775.ser
/usr/share/php/data/Patchwork/charset/from.cp850.ser
/usr/share/php/data/Patchwork/charset/from.cp852.ser
/usr/share/php/data/Patchwork/charset/from.cp855.ser
/usr/share/php/data/Patchwork/charset/from.cp856.ser
/usr/share/php/data/Patchwork/charset/from.cp857.ser
/usr/share/php/data/Patchwork/charset/from.cp860.ser
/usr/share/php/data/Patchwork/charset/from.cp861.ser
/usr/share/php/data/Patchwork/charset/from.cp862.ser
/usr/share/php/data/Patchwork/charset/from.cp863.ser
/usr/share/php/data/Patchwork/charset/from.cp864.ser
/usr/share/php/data/Patchwork/charset/from.cp865.ser
/usr/share/php/data/Patchwork/charset/from.cp866.ser
/usr/share/php/data/Patchwork/charset/from.cp869.ser
/usr/share/php/data/Patchwork/charset/from.cp874.ser
/usr/share/php/data/Patchwork/charset/from.cp875.ser
/usr/share/php/data/Patchwork/charset/from.cp932.ser
/usr/share/php/data/Patchwork/charset/from.cp936.ser
/usr/share/php/data/Patchwork/charset/from.cp949.ser
/usr/share/php/data/Patchwork/charset/from.cp950.ser
/usr/share/php/data/Patchwork/charset/from.gsm0338.ser
/usr/share/php/data/Patchwork/charset/from.iso-8859-1.ser
/usr/share/php/data/Patchwork/charset/from.iso-8859-10.ser
/usr/share/php/data/Patchwork/charset/from.iso-8859-11.ser
/usr/share/php/data/Patchwork/charset/from.iso-8859-13.ser
/usr/share/php/data/Patchwork/charset/from.iso-8859-14.ser
/usr/share/php/data/Patchwork/charset/from.iso-8859-15.ser
/usr/share/php/data/Patchwork/charset/from.iso-8859-16.ser
/usr/share/php/data/Patchwork/charset/from.iso-8859-2.ser
/usr/share/php/data/Patchwork/charset/from.iso-8859-3.ser
/usr/share/php/data/Patchwork/charset/from.iso-8859-4.ser
/usr/share/php/data/Patchwork/charset/from.iso-8859-5.ser
/usr/share/php/data/Patchwork/charset/from.iso-8859-6.ser
/usr/share/php/data/Patchwork/charset/from.iso-8859-7.ser
/usr/share/php/data/Patchwork/charset/from.iso-8859-8.ser
/usr/share/php/data/Patchwork/charset/from.iso-8859-9.ser
/usr/share/php/data/Patchwork/charset/from.koi8-r.ser
/usr/share/php/data/Patchwork/charset/from.koi8-u.ser
/usr/share/php/data/Patchwork/charset/from.mazovia.ser
/usr/share/php/data/Patchwork/charset/from.nextstep.ser
/usr/share/php/data/Patchwork/charset/from.stdenc.ser
/usr/share/php/data/Patchwork/charset/from.symbol.ser
/usr/share/php/data/Patchwork/charset/from.turkish.ser
/usr/share/php/data/Patchwork/charset/from.us-ascii-quotes.ser
/usr/share/php/data/Patchwork/charset/from.us-ascii.ser
/usr/share/php/data/Patchwork/charset/from.windows-1250.ser
/usr/share/php/data/Patchwork/charset/from.windows-1251.ser
/usr/share/php/data/Patchwork/charset/from.windows-1252.ser
/usr/share/php/data/Patchwork/charset/from.windows-1253.ser
/usr/share/php/data/Patchwork/charset/from.windows-1254.ser
/usr/share/php/data/Patchwork/charset/from.windows-1255.ser
/usr/share/php/data/Patchwork/charset/from.windows-1256.ser
/usr/share/php/data/Patchwork/charset/from.windows-1257.ser
/usr/share/php/data/Patchwork/charset/from.windows-1258.ser
/usr/share/php/data/Patchwork/charset/from.x-mac-ce.ser
/usr/share/php/data/Patchwork/charset/from.x-mac-cyrillic.ser
/usr/share/php/data/Patchwork/charset/from.x-mac-greek.ser
/usr/share/php/data/Patchwork/charset/from.x-mac-icelandic.ser
/usr/share/php/data/Patchwork/charset/from.x-mac-roman.ser
/usr/share/php/data/Patchwork/charset/from.zdingbat.ser
/usr/share/php/data/Patchwork/charset/to.gsm0338.ser
/usr/share/php/data/Patchwork/charset/to.mazovia.ser
/usr/share/php/data/Patchwork/charset/to.stdenc.ser
/usr/share/php/data/Patchwork/charset/to.symbol.ser
/usr/share/php/data/Patchwork/charset/to.zdingbat.ser
/usr/share/php/data/Patchwork/charset/translit.ser
/usr/share/php/data/Patchwork/data/caseFolding_full.ser
/usr/share/php/data/Patchwork/data/to.bestfit1250.ser
/usr/share/php/data/Patchwork/data/to.bestfit1251.ser
/usr/share/php/data/Patchwork/data/to.bestfit1252.ser
/usr/share/php/data/Patchwork/data/to.bestfit1253.ser
/usr/share/php/data/Patchwork/data/to.bestfit1254.ser
/usr/share/php/data/Patchwork/data/to.bestfit1255.ser
/usr/share/php/data/Patchwork/data/to.bestfit1256.ser
/usr/share/php/data/Patchwork/data/to.bestfit1257.ser
/usr/share/php/data/Patchwork/data/to.bestfit1258.ser
/usr/share/php/data/Patchwork/data/to.bestfit874.ser
/usr/share/php/data/Patchwork/data/to.bestfit932.ser
/usr/share/php/data/Patchwork/data/to.bestfit936.ser
/usr/share/php/data/Patchwork/data/to.bestfit949.ser
/usr/share/php/data/Patchwork/data/to.bestfit950.ser
/usr/share/php/data/Patchwork/data/translit_extra.ser
/usr/share/php/data/Patchwork/unidata/canonicalComposition.ser
/usr/share/php/data/Patchwork/unidata/canonicalDecomposition.ser
/usr/share/php/data/Patchwork/unidata/combiningClass.ser
/usr/share/php/data/Patchwork/unidata/compatibilityDecomposition.ser
/usr/share/php/data/Patchwork/unidata/lowerCase.ser
/usr/share/php/data/Patchwork/unidata/upperCase.ser

Changelog

2016-05-20 - David Prévot <taffit@debian.org>
php-patchwork-utf8 (1.3.1-1) unstable; urgency=medium
[ Nicolas Grekas ]
* Normalizer fixes from @gitlost
* Bump to version 1.3.1
[ David Prévot ]
* Update Standards-Version to 3.9.8
2016-03-19 - David Prévot <taffit@debian.org>
php-patchwork-utf8 (1.3.0-2) unstable; urgency=medium
* Drop ownCloud for Debian maintainers from uploaders
* Update Standards-Version to 3.9.7
* Rebuild with recent pkg-php-tools for the PHP 7.0 transition
2015-12-16 - David Prévot <taffit@debian.org>
php-patchwork-utf8 (1.3.0-1) unstable; urgency=medium
[ Nicolas Grekas ]
* Bump to version 1.3.0
[ David Prévot ]
* Update copyright (years)
* mb_convert_variables shim added
2015-10-22 - David Prévot <taffit@debian.org>
php-patchwork-utf8 (1.2.5-1) unstable; urgency=medium
[ Nicolas Grekas ]
* fix mb_strrpos shim with negative offset
* trigger silenced deprecation notices when shims are in use
* Bump to version 1.2.5
[ David Prévot ]
* Update copyright
[ Shawn Iwinski ]
* Add license files
[ Leo Feyer ]
* Handle the third argument of mb_convert_encoding() being an array.
2015-06-25 - David Prévot <taffit@debian.org>
php-patchwork-utf8 (1.2.3-1) unstable; urgency=medium
[ Nicolas Grekas ]
* mv class/ src/
* Bump to version 1.2.3
[ David Prévot ]
* Document data copyright
* Adapt packaging to moved directories
2015-05-02 - David Prévot <taffit@debian.org>
php-patchwork-utf8 (1.2.2-1) unstable; urgency=medium
[ David Prévot ]
* Upload to unstable since Jessie has been released
* Do not ship Windows specific class
* Provide homemade autoload.php
* Move data to /usr/share/php/data
[ Greg Roach ]
* iconv_set_encoding deprecated in PHP 5.6.0
[ Nicolas Grekas ]
* Bump to version 1.2.2
2015-02-25 - David Prévot <taffit@debian.org>
php-patchwork-utf8 (1.2.1-1) experimental; urgency=medium
[ Nicolas Grekas ]
* Fix double shim declaration
[ David Prévot ]
* Update upstream VCS
* Ship upstream README
2015-01-30 - David Prévot <taffit@debian.org>
php-patchwork-utf8 (1.2.0-1) experimental; urgency=medium
[ Nicolas Grekas ]
* update to Unicode 7.0
* Fallback on stat() when lstat() fails, fix #14
* Fail properly when COM is not loaded - fix #25
* add u::strwidth() fix #29
* Add a note about https://bugs.php.net/65358
* add more mbstring shims
[ David Prévot ]
* Drop now useless patch
* Update watch file
* Update description
* Bump standards version to 3.9.6
2014-08-09 - David Prévot <taffit@debian.org>
php-patchwork-utf8 (1.2.0~beta-1) experimental; urgency=medium
[ Nicolas Grekas ]
* add bestfit handling
* add Patchwork\Utf8::wrapPath() to easy portability
[ David Prévot ]
* Revert "Track 1.1 branch for now"
* Handle pre-releases, and upload to experimental
2014-08-08 - David Prévot <taffit@debian.org>
php-patchwork-utf8 (1.1.25-1) unstable; urgency=medium
* Track 1.1 branch for now

See Also

Package Description
php-pclzip_2.8.2-4_all.deb ZIP archive manager class for PHP
php-pecl-http-dev_3.1.0+2.6.0-4build2_all.deb pecl_http module for PHP Extended HTTP Support [dummy]
php-pecl-http_3.1.0+2.6.0-4build2_all.deb pecl_http module for PHP Extended HTTP Support [dummy]
php-php-gettext_1.0.12-0.1_all.deb read gettext MO files directly, without requiring anything other than PHP
php-phpdbg_7.1+54ubuntu1_all.deb server-side, HTML-embedded scripting language (PHPDBG binary) (default)
php-phpdocumentor-reflection-common_1.0-3_all.deb Common reflection classes - phpDocumentor component
php-phpdocumentor-reflection-docblock_2.0.4-2_all.deb DocBlock parser - phpDocumentor component
php-phpdocumentor-reflection_1.1.0-1_all.deb Reflection library to do Static Analysis for PHP Projects
php-phpdocumentor-type-resolver_0.2.1-1_all.deb TypeResolver and FqsenResolver - phpDocumentor component
php-phpseclib_2.0.6-1_all.deb implementations of an arbitrary-precision integer arithmetic library
php-phpspec-prophecy_1.7.0-1_all.deb object mocking framework - phpspec component
php-pimple_3.0.2-2ubuntu1_all.deb simple dependency injection container -- class
php-pinba_1.1.0-3build1_i386.deb Pinba module for PHP
php-propro-dev_2.0.1+1.0.2-1build1_all.deb propro module for PHP development headers [dummy]
php-propro_2.0.1+1.0.2-1build1_i386.deb propro module for PHP
Advertisement
Advertisement