PackageTrack
Sign in Get early access

patchwork/utf8

Abandoned; use symfony/polyfill-mbstring or symfony/string. Portable and performant UTF-8, Unicode and Grapheme Clusters for PHP

v1.3.3 22M downloads/mo #2398 most downloaded on Packagist tchwork/utf8

What this package is like to depend on

Last release 6 years ago

no release in 18 months

Ships unpredictably

gaps range from 2 weeks to 3.5 years

Most releases are documented

notes for 35 of 48 stable releases

Nothing withdrawn

no release was ever pulled

14 years old

49 releases · first in 2012

0 releases in the last 12 months

see the full history below

Release timeline

48 releases · Oct 2012 to Jan 2021
2013 2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 49
  1. v1.3.3 07 Jan 2021
    Release notes
    • minor fixes
    Open source →
  2. v1.3.2 03 Dec 2019
    Release notes
    • update maps for Unicode 12
    • check if MB_OVERLOAD_STRING exists before using it
    Open source →
  3. v1.3.1 18 May 2016
    Release notes

    Adjust grapheme_strpos behavior for PHP versions

    Open source →
    Release notes
    • Normalizer fixes from @gitlost
    • fix tests for php 5.5.35/5.6.21/7.0.6
    Open source →
  4. v1.3.0 15 Dec 2015
    Release notes
    • add shim for mb_convert_variables
    • marked all shims as @internal
    • test on appveyor
    • a few fixes in iconv and mbstring shims
    • cleanup refacto for preparing v2 based on symfony-polyfill
    Open source →
    Release notes
    • add shim for mb_convert_variables
    • marked all shims as @internal
    • test on appveyor
    • a few fixes in iconv and mbstring shims
    • cleanup refacto for preparing v2 based on symfony-polyfill
    Open source →
  5. v1.2.6 15 Dec 2015
    Release notes
    • fix compat with symfony-polyfill
    Open source →
    Release notes
    • fix compat with symfony-polyfill
    Open source →
  6. v1.2.5 14 Oct 2015
    Release notes
    • handle the third argument of mb_convert_encoding() being an array
    • add license files
    Open source →
    Release notes
    • handle the third argument of mb_convert_encoding() being an array
    • add license files
    Open source →
  7. v1.2.3 25 Jun 2015
    Release notes
    • fix mb_strrpos shim with negative offset
    • sync tests with latest PHP/HHVM behaviors
    • remove PHP7/HHVM from allowed failures
    • move to PSR-1+2+4
    • mv class/ src/
    Open source →
    Release notes
    • fix mb_strrpos shim with negative offset
    • sync tests with latest PHP/HHVM behaviors
    • remove PHP7/HHVM from allowed failures
    • move to PSR-1+2+4
    • mv class/ src/
    Open source →
  8. v1.2.2 26 Apr 2015
    Release notes
    • fix ucwords to be functionally the same as in-built PHP version
    • fix iconv_set_encoding deprecation notice in PHP 5.6.0
    • remove legacy test for HHVM/PHP7
    • mb_parse_str() should have no return value
    Open source →
    Release notes
    • Fix ucwords to be functionally the same as in-built PHP version
    • Fix iconv_set_encoding deprecation notice in PHP 5.6.0
    • remove legacy test for HHVM/PHP7
    • mb_parse_str() should have no return value
    Open source →
  9. v1.2.1 29 Jan 2015
    Release notes
    • fix double declaration in mbstring shim
    Open source →
  10. v1.2.0 12 Jan 2015
    Release notes
    • add u::strwidth() to get the width of a string when printed on a terminal
    • add more mbstring shims
    • add a note about https://bugs.php.net/65358
    • fail properly when COM is not loaded
    • fallback on stat() when lstat() fails
    Open source →
  11. v1.2.0-beta 05 Aug 2014 pre-release
    Release notes
    • add best-fit mappings for UTF-8 to Code Page approximations
    • add portable Unicode filesystem access under Windows and other OSes
    Open source →
  12. v1.1.31 15 Dec 2015
    Release notes
    • fix compat with symfony-polyfill
    Open source →
    Release notes
    • fix compat with symfony-polyfill
    Open source →
  13. v1.1.30 29 Jun 2015
    Release notes
    • fix mb_strrpos shim with negative offset
    Open source →
    Release notes
    • fix mb_strrpos shim with negative offset
    Open source →
  14. v1.1.29 26 Apr 2015
    Release notes
    • fix ucwords to be functionally the same as in-built PHP version
    • fix iconv_set_encoding deprecation notice in PHP 5.6.0
    • remove legacy test for HHVM/PHP7
    Open source →
  15. v1.1.28 12 Jan 2015
    Release notes
    • fix mbstring shim for html-entities
    Open source →
  16. v1.1.27 11 Jan 2015
    Release notes
    • update to Unicode 7.0
    • fix iconv shim compat layer
    Open source →
  17. v1.1.26 08 Nov 2014
    Release notes
    • tweak composer.json
    Open source →
  18. v1.1.25 05 Aug 2014
    Release notes
    • update travis matrix
    • add composer branch alias
    Open source →
  19. v1.1.24 17 Jun 2014
    Release notes
    • update tests for latest HHVM fixes
    • move legacy GRAPHEME_CLUSTER_RX version to Intl shim
    Open source →
  20. v1.1.23 22 May 2014
    Release notes
    • enable tests for PHP 5.6
    • remove HHVM from allowed failures
    Open source →
  21. v1.1.22 06 May 2014
    Release notes
    • fix #19: don't call ini_set() when not required and gain compat with PHP5.6
    Open source →
  22. v1.1.21 26 Mar 2014
    Release notes
    • fix #18 u::wordwrap() now relies on native behavior
    Open source →
  23. v1.1.20 01 Mar 2014

    Nothing published for this version

  24. v1.1.18 02 Feb 2014
    Release notes
    • require PCRE>=7.3, the first that correctly checks UTF-8 validity
    • enable HHVM on Travis CI
    Open source →
  25. v1.1.17 02 Jan 2014
    Release notes
    • enable Travis CI and SensioLabsInsight
    • add shims for mb_check_encoding, mb_detect_encoding, mb_detect_order, mb_language and mb_encoding_aliases
    • mbstring shim fix: alias UTF8 to UTF-8
    • more tests
    Open source →
  26. v1.1.16 07 Dec 2013
    Release notes
    • fix $_FILES bootup filtering
    • fix mbstring shim behavior with invalid utf8 strings
    Open source →
  27. v1.1.15 23 Nov 2013
    Release notes
    • u::toAscii() is now locale sensitive and allows a substitution character
    • use LSB for more extension openness
    • handle null for mb_substr() shim length as in PHP 5.4.8
    • fix casts to string
    • fix mbstring MB_CASE_TITLE shim on edge case
    • small optimizations
    • add a changelog
    Open source →
  28. v1.1.14 04 Nov 2013
    Release notes
    • set default_charset to UTF-8 at bootup
    • remove bootup PCRE warning
    • fix iconv internal_encoding shim
    • fix bootup dependencies
    • add tests for normalizers consts
    • readme update
    Open source →
  29. v1.1.13 12 Oct 2013
    Release notes
    • new u::filter(): normalizes to UTF-8 NFC, converting from CP-1252 when needed
    • new u::json_decode(), u::filter_input() and u::filter_input_array() for NFC safeness
    • reference Unicode 6.3
    • more tests
    • readme update
    Open source →
  30. v1.1.12 04 Oct 2013
    Release notes
    • new Patchwork\TurkishUtf8 class extends Patchwork\Utf8 with Turkish specifics
    • expose Patchwork\Utf8\Bootup::filterString() for UF-8 NFC strings normalization
    • normalize inputs EOL to work around https://bugs.php.net/65732
    • update composer.json
    Open source →
  31. v1.1.11 19 Aug 2013
    Release notes
    • updates related to PHP bugs 52211 and 61860
    • fixes and tests for iconv shim
    • fixes and tests for mbstring shim
    Open source →
  32. v1.1.10 13 Aug 2013
    Release notes
    • update .gitattributes export-ignore
    • fixes and tests for intl::grapheme_extract() shim
    • fixes and tests for iconv shim
    • fixes and tests for mbstring shim
    Open source →
  33. v1.1.9 04 Aug 2013
    Release notes
    • know that PHP bug 61860 has been fixed in 5.5.1
    • fix intl::grapheme_strlen() shim on edge case
    • fix case sensitive encoding checks for mbstring shim
    • some more fixes, tests and optimizations
    Open source →
  34. v1.1.8 24 May 2013
    Release notes
    • filter leading combining chars in inputs for NFC safeness
    • fixes, tests and optimizations
    • readme update
    Open source →
  35. v1.1.7 23 May 2013

    Nothing published for this version

  36. v1.1.6 13 May 2013

    Nothing published for this version

  37. v1.1.5 13 May 2013

    Nothing published for this version

  38. v1.1.4 13 May 2013

    Nothing published for this version

  39. v1.1.3 18 Apr 2013

    Nothing published for this version

  40. v1.1.2 18 Apr 2013

    Nothing published for this version

  41. v1.1.1 no date

    Nothing published for this version

  42. v1.1.0 18 Apr 2013
    Release notes
    • PSR-0 autoloading and explicit bootup configuration is now required
    Open source →
  43. v1.0.6 22 Apr 2013
    Release notes
    • add extra characters for ASCII transliterations
    • move bootup stages in namespaced functions for greater modularity
    • NFC normalization for autoglobal inputs
    • better setlocale() initialization
    • fix fatal error caused by multiple bootup inclusion
    • fix bootup
    Open source →
  44. v1.0.5 18 Apr 2013

    Nothing published for this version

  45. v1.0.4 13 Dec 2012

    Nothing published for this version

  46. v1.0.3 18 Oct 2012

    Nothing published for this version

  47. v1.0.2 17 Oct 2012

    Nothing published for this version

  48. v1.0.1 16 Oct 2012

    Nothing published for this version

  49. v1.0.0 15 Oct 2012
    Release notes
    • first official release of a work started in 2007
    • Apache v2.0 / GPL v2.0 dual-licensed
    • PHP portability implementations for mbstring, iconv, intl grapheme_*() and utf8_encode/decode()
    • Unicode compliant and portable Normalizer
    • grapheme clusters aware UTF-8 handling string functions replica
    • PHP runtime environment configuration for UTF-8
    • extra functions for UTF-8 validity checks, transliterations and case folding
    • covered by unit tests
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive