Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Generated on May 19, 2024 via composer

symfony/polyfill-intl-idn v1.26.0

Symfony polyfill for intl's idn_to_ascii and idn_to_utf8 functions
Package summary
Share
0
issues
1
license
3
MIT
Package created
1 Oct 2018
Version published
24 May 2022
Maintainers
1
Total deps
3
Direct deps
2
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
3 Packages, Including:
symfony/polyfill-intl-idn@v1.26.0
symfony/polyfill-intl-normalizer@v1.29.0
symfony/polyfill-php72@v1.29.0
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

2
All Dependencies CSV
ⓘ This is a list of symfony/polyfill-intl-idn 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
symfony/polyfill-intl-normalizerv1.29.0-MIT
prod
symfony/polyfill-php72v1.29.0-MIT
prod

Visualizations

Frequently Asked Questions

What does symfony/polyfill-intl-idn do?

Symfony Polyfill Intl Idn is a crucial component that provides the functionalities of idn_to_ascii and idn_to_utf8 functions to users running PHP versions without the Intl (Internationalization) extension. These functions are key in the implementation of internationalized domain names, turning them into Punycode representation (ASCII) and back to Unicode (UTF-8).

How do you use symfony/polyfill-intl-idn?

To get started with Symfony Polyfill Intl Idn, you need to first install it via Composer:

composer require symfony/polyfill-intl-idn

Once installed, you can use the idn_to_ascii and idn_to_utf8 functions directly in your PHP code. For instance:

$ascii = idn_to_ascii('bücher.tld');
$utf8 = idn_to_utf8('xn--bcher-kva.tld');

The idn_to_ascii function converts a Unicode string to an ASCII string, and idn_to_utf8 does the inverse operation, effectively decoding ASCII strings back into Unicode.

Where are the symfony/polyfill-intl-idn docs?

The documentation for Symfony Polyfill Intl Idn is integrated within the main Symfony polyfill README, which is accessible on the Symfony Polyfill GitHub page. This document will walk you through a comprehensive overview of the package and how to use it in your PHP applications.