{"id":91722,"library":"symfony-polyfill-php82","title":"Symfony PHP 8.2 Polyfill","description":"Symfony polyfill backporting some PHP 8.2+ features to lower PHP versions.","status":"active","version":"1.38.1","language":"php","source_language":null,"source_url":"https://github.com/symfony/polyfill-php82","tags":["polyfill","php82","symfony","compatibility","backport"],"install":[{"cmd":"composer require symfony/polyfill-php82","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"Php82","correct":"use Symfony\\Polyfill\\Php82\\Php82;"}],"quickstart":{"code":"use Symfony\\Polyfill\\Php82\\Php82;\n\n// No instantiation needed; polyfill is loaded automatically.\n// Example: use random_byte() which is available in PHP 8.2+\necho bin2hex(random_bytes(16));","lang":"php","description":"Automatically provides PHP 8.2 functions on older PHP versions."},"warnings":[{"fix":"Check the polyfill documentation for the list of supported functions.","message":"Only provides a subset of PHP 8.2 features; not all functions are polyfilled.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'8.2':3,10 'backport':7,20 'compat':19 'featur':11 'lower':13 'php':2,9,14 'php82':17 'polyfil':4,6,16 'symfoni':1,5,18 'version':15","created_at":"2026-06-19T09:21:48.122913+00:00","updated_at":"2026-06-19T09:21:48.122913+00:00","problems":[],"ecosystem":"packagist","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://symfony.com","github":"https://github.com/symfony/polyfill-php82","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}