Skip to content

Commit cb30706

Browse files
authored
Merge pull request #905 from gerardnll/patch-1
Adjusted URLs for deprecated packages
2 parents 6724f3d + bf9dec8 commit cb30706

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

_posts/05-05-01-PHP-and-UTF8.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ encoding. You should always explicitly indicate UTF-8 when given the option. For
4141
option for character encoding, and you should always specify UTF-8 if dealing with such strings. Note that as of PHP 5.4.0, UTF-8 is the default encoding for `htmlentities()` and `htmlspecialchars()`.
4242

4343
Finally, If you are building a distributed application and cannot be certain that the `mbstring` extension will be
44-
enabled, then consider using the [patchwork/utf8] Composer package. This will use `mbstring` if it is available, and
44+
enabled, then consider using the [symfony/polyfill-mbstring] Composer package. This will use `mbstring` if it is available, and
4545
fall back to non UTF-8 functions if not.
4646

4747
[Multibyte String Extension]: https://secure.php.net/book.mbstring
48-
[patchwork/utf8]: https://packagist.org/packages/patchwork/utf8
48+
[symfony/polyfill-mbstring]: https://packagist.org/packages/symfony/polyfill-mbstring
4949

5050
### UTF-8 at the Database level
5151

_posts/05-06-01-Internationalization-and-Localization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ to other formats besides `.mo/.po` files. Can be useful if you need to integrate
4949
parts of the system, like a JavaScript interface.
5050
- [symfony/translation][symfony]: supports a lot of different formats, but recommends using verbose XLIFF's. Doesn't
5151
include helper functions nor a built-in extractor, but supports placeholders using `strtr()` internally.
52-
- [zend/i18n][zend]: supports array and INI files, or Gettext formats. Implements a caching layer to save you from
52+
- [laminas/laminas-i18n][laminas]: supports array and INI files, or Gettext formats. Implements a caching layer to save you from
5353
reading the filesystem every time. It also includes view helpers, and locale-aware input filters and validators.
5454
However, it has no message extractor.
5555

@@ -413,7 +413,7 @@ After including those new rules in the `.po` file, a new scan will bring in your
413413
[aura-intl]: https://github.com/auraphp/Aura.Intl
414414
[oscarotero]: https://github.com/oscarotero/Gettext
415415
[symfony]: https://symfony.com/doc/current/components/translation.html
416-
[zend]: https://docs.zendframework.com/zend-i18n/translation
416+
[laminas]: https://docs.laminas.dev/laminas-i18n/
417417
[laravel]: https://laravel.com/docs/master/localization
418418
[yii]: https://www.yiiframework.com/doc/guide/2.0/en/tutorial-i18n
419419
[intl]: https://secure.php.net/manual/intro.intl.php

0 commit comments

Comments
 (0)