PHP Libraries › symfony › polyfill Symfony PHP polyfill library that provides backported features for older PHP versions, ensuring compatibility and functionality.
Package Description Symfony polyfill is a versatile PHP library that bridges the gap between older and newer PHP versions, offering essential functions and classes for seamless compatibility and enhanced functionality across multiple environments and projects.
Classes: Symfony\Polyfill\Intl\Normalizer\Normalizer Symfony\Polyfill\Intl\Grapheme\Grapheme Symfony\Polyfill\Intl\Icu\IntlDateFormatter Symfony\Polyfill\Intl\Icu\Locale Symfony\Polyfill\Intl\Icu\NumberFormatter Symfony\Polyfill\Intl\Icu\Currencies Symfony\Polyfill\Intl\Icu\Icu Symfony\Polyfill\Intl\Icu\DateFormat\DayOfYearTransformer Symfony\Polyfill\Intl\Icu\DateFormat\Transformer Symfony\Polyfill\Intl\Icu\DateFormat\QuarterTransformer Symfony\Polyfill\Intl\Icu\DateFormat\SecondTransformer Symfony\Polyfill\Intl\Icu\DateFormat\YearTransformer Symfony\Polyfill\Intl\Icu\DateFormat\HourTransformer Symfony\Polyfill\Intl\Icu\DateFormat\Hour2400Transformer Symfony\Polyfill\Intl\Icu\DateFormat\Hour2401Transformer Symfony\Polyfill\Intl\Icu\DateFormat\TimezoneTransformer Symfony\Polyfill\Intl\Icu\DateFormat\DayOfWeekTransformer Symfony\Polyfill\Intl\Icu\DateFormat\AmPmTransformer Symfony\Polyfill\Intl\Icu\DateFormat\MinuteTransformer Symfony\Polyfill\Intl\Icu\DateFormat\Hour1200Transformer Symfony\Polyfill\Intl\Icu\DateFormat\Hour1201Transformer Symfony\Polyfill\Intl\Icu\DateFormat\FullTransformer Symfony\Polyfill\Intl\Icu\DateFormat\MonthTransformer Symfony\Polyfill\Intl\Icu\DateFormat\DayTransformer Symfony\Polyfill\Intl\Icu\Exception\MethodArgumentNotImplementedException Symfony\Polyfill\Intl\Icu\Exception\NotImplementedException Symfony\Polyfill\Intl\Icu\Exception\MethodNotImplementedException Symfony\Polyfill\Intl\Icu\Exception\RuntimeException Symfony\Polyfill\Intl\Icu\Exception\ExceptionInterface Symfony\Polyfill\Intl\Icu\Exception\MethodArgumentValueNotImplementedException Symfony\Polyfill\Intl\Icu\Collator Symfony\Polyfill\Intl\Idn\Idn Symfony\Polyfill\Intl\Idn\Resources\unidata\Regex Symfony\Polyfill\Intl\Idn\Resources\unidata\DisallowedRanges Symfony\Polyfill\Intl\Idn\Info Symfony\Polyfill\Intl\MessageFormatter\MessageFormatter Symfony\Polyfill\Php80\PhpToken Symfony\Polyfill\Php80\Php80 Symfony\Polyfill\Mbstring\Mbstring Symfony\Polyfill\Php83\Php83 Symfony\Polyfill\Php74\Php74 Symfony\Polyfill\Iconv\Iconv Symfony\Polyfill\Uuid\Uuid Symfony\Polyfill\Ctype\Ctype Symfony\Polyfill\Php82\NoDynamicProperties Symfony\Polyfill\Php82\SensitiveParameterValue Symfony\Polyfill\Php82\Random\Engine\Secure Symfony\Polyfill\Php82\Php82 Random\RandomException Random\Engine\Secure Random\BrokenRandomEngineError Random\CryptoSafeEngine Random\Engine Random\RandomError Symfony\Polyfill\Php84\Php84 Symfony\Polyfill\Php73\Php73 Symfony\Polyfill\Apcu\Apcu Symfony\Polyfill\Util\TestListener Symfony\Polyfill\Util\TestListenerForV9 Symfony\Polyfill\Util\TestListenerTrait Symfony\Polyfill\Util\BinaryOnFuncOverload Symfony\Polyfill\Util\BinaryNoFuncOverload Symfony\Polyfill\Util\Binary Symfony\Polyfill\Util\TestListenerForV7 Symfony\Polyfill\Php81\Php81 Close Download Latest Version: 1.32.0 Coming soonPrevious 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/symfony/polyfill/1.32.0/loader.php';
require_once 'libs/symfony/polyfill-mbstring/1.32.0/loader.php';
require_once 'libs/symfony/polyfill-php72/{lib_version}/loader.php';
use Symfony\Polyfill\Php72\Php72;
use Symfony\Polyfill\Mbstring\Mbstring;
$obj = new Php72();
echo '✅ Test OK: ' . get_class($obj);
?>
Report a broken download or code 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.