Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 9, 2024 via composer

symfony/intl v2.8.35

A PHP replacement layer for the C intl extension that includes additional data from the ICU library.
Package summary
Share
0
issues
1
license
3
MIT
Package created
22 Apr 2013
Version published
2 Feb 2018
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/intl@v2.8.35
symfony/polyfill-intl-icu@v1.29.0
symfony/polyfill-php54@v1.20.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/intl 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
symfony/polyfill-intl-icuv1.29.044.76 kBMIT
prod
symfony/polyfill-php54v1.20.01.99 kBMIT
prod

Visualizations

Frequently Asked Questions

What does symfony/intl do?

The Symfony/Intl is a PHP library that provides a way to utilize the localization data from the ICU library. It simplifies the process of internationalizing your PHP applications, by granting you access to locale-related info like days of the weeks, calendar formats, country names and more - all in a language and format suitable for different regions.

How do you use symfony/intl?

To use the Symfony/Intl package in your PHP project, you'd first need to install it via Composer. Use the command composer require symfony/intl in your terminal to do so.

After installing Symfony/Intl, you can utilize its classes to get localized data. Here is a simple usage example:

use Symfony\Component\Intl\Countries;

// displays 'United States' if run in the 'en' locale
echo Countries::getName('US');

use Symfony\Component\Intl\Currencies;
// displays '$' if run in the 'en' locale
echo Currencies::getSymbol('USD');

The above PHP code snippets call the getName and getSymbol methods from Countries and Currencies classes respectively, to retrieve localized country name and currency symbol.

Where are the symfony/intl docs?

You can find the documentation for Symfony/Intl on the Symfony's official website at Symfony Documentation. It provides you detailed explanation and full usage examples of how you can use the package and take full advantage of ICU's localization capabilities in your PHP projects.