symfony/polyfill-iconv 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
Symfony/polyfill-iconv provides a native PHP reimplementation of the php.net/iconv functions, save for ob_iconv_handler. The symfony/polyfill-iconv comes into action in instances where the actual
iconv extension is not present. It essentially offers a convenient replacement for the same without having you to meddle with PHP extensions.
To use symfony/polyfill-iconv, you don't need to make specific calls. Instead, you just call the usual iconv functions like you typically would in PHP. For example:
$result = iconv("UTF-8", "ISO-8859-1//TRANSLIT", $text);
The package will work in the background to supply the functionality in the absence of the native extension. For installing the package, you need Composer, and you typically install it by running
composer require symfony/polyfill-iconv
in your terminal.
The documentation for symfony/polyfill-iconv, which includes usage and installation instructions, could be found within the main Symony Polyfill README file on GitHub. The URL for that documentation is https://github.com/symfony/polyfill/blob/main/README.md. It is crucial to read through these docs comprehensively before starting to facilitate your understanding of the package and its functionality better.