Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Utf8 Laravel Package

patchwork/utf8

Portable UTF-8 and grapheme cluster handling for PHP. Provides pure-PHP fallbacks for mbstring, iconv, and intl Normalizer/grapheme_* functions plus UTF-8-aware replacements for native string functions, improving reliability across servers.

View on GitHub
Deep Wiki
Context7
v1.3.3
v1.3.0
  • 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
v1.2.6
  • fix compat with symfony-polyfill
v1.1.31
  • fix compat with symfony-polyfill
v1.2.5
  • handle the third argument of mb_convert_encoding() being an array
  • add license files
v1.1.30
  • fix mb_strrpos shim with negative offset
v1.2.3
  • 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/
v1.2.2
  • 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
v1.1.29
  • 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
v1.2.1
  • fix double declaration in mbstring shim
v1.2.0
  • add portable Unicode filesystem access under Windows and other OSes
  • add best-fit mappings for UTF-8 to Code Page approximations
  • 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
v1.1.28
  • fix mbstring shim for html-entities
v1.1.27
  • update to Unicode 7.0
  • fix iconv shim compat layer
v1.1.26
  • tweak composer.json
v1.1.25
  • update travis matrix
  • add composer branch alias
v1.2.0-beta
  • add best-fit mappings for UTF-8 to Code Page approximations
  • add portable Unicode filesystem access under Windows and other OSes
v1.1.24
  • update tests for latest HHVM fixes
  • move legacy GRAPHEME_CLUSTER_RX version to Intl shim
v1.1.23
  • enable tests for PHP 5.6
  • remove HHVM from allowed failures
v1.1.22
  • fix #19: don't call ini_set() when not required and gain compat with PHP5.6
v1.1.20
  • fix mb_regex_encoding() being disabled on some hosting providers
  • skip bad release v1.1.19
v1.1.21
  • fix #18 u::wordwrap() now relies on native behavior
v1.1.18
  • require PCRE>=7.3, the first that correctly checks UTF-8 validity
  • enable HHVM on Travis CI
v1.1.17
  • 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
v1.1.16
  • fix $_FILES bootup filtering
  • fix mbstring shim behavior with invalid utf8 strings
v1.1.15
  • 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
v1.1.10
  • update .gitattributes export-ignore
  • fixes and tests for intl::grapheme_extract() shim
  • fixes and tests for iconv shim
  • fixes and tests for mbstring shim
v1.1.11
  • updates related to PHP bugs 52211 and 61860
  • fixes and tests for iconv shim
  • fixes and tests for mbstring shim
v1.1.12
  • 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
v1.1.13
  • 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
v1.1.14
  • 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
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport