PHP Package: commerceguys/intl

Commerceguys' PHP library for internationalization providing essential tools for handling multilingual content and formatting.

Current Version: 2.0.6
Last Updated: 2024-07-12
PHP Requirement: >=8.0
Dependencies:
symfony/translation
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Commerceguys' Intl library is a comprehensive PHP toolset designed to simplify the handling of multilingual content, localization, and internationalization tasks. With a wide range of features for formatting numbers, currencies, dates, and messages, this library streamlines the process of creating globally accessible applications.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 2.0.7

Clock Coming soon

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/commerceguys/intl/2.0.7/loader.php';
require_once 'libs/symfony/translation/7.3.0/loader.php';

use CommerceGuys\Intl\Formatter\CurrencyFormatter;
use CommerceGuys\Intl\NumberFormat\NumberPattern;
use Symfony\Component\Translation\Translator;

$obj = new CurrencyFormatter();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.