{"id":86997,"library":"symfony-polyfill-mbstring","title":"Symfony Polyfill Mbstring","description":"Provides a PHP polyfill for the Mbstring extension when it is not available.","status":"active","version":"1.38.2","language":"php","source_language":null,"source_url":"https://github.com/symfony/polyfill-mbstring","tags":["polyfill","mbstring","multibyte","symfony"],"install":[{"cmd":"composer require symfony/polyfill-mbstring","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"Mbstring","correct":"use Symfony\\Polyfill\\Mbstring\\Mbstring;"}],"quickstart":{"code":"use Symfony\\Polyfill\\Mbstring\\Mbstring;\n\n$result = Mbstring::mb_strlen('Hello');","lang":"php","description":"Use the polyfill to call mb_strlen without the native extension."},"warnings":[{"fix":"Ensure mbstring extension is fully disabled or enabled consistently across environments.","message":"Polyfill only activates if the mbstring extension is missing; may cause unexpected behavior if extension partially loaded.","severity":"gotcha","affected_versions":">=1.0.0"}],"env_vars":null,"search_vec":"'avail':16 'extens':11 'mbstring':3,10,18 'multibyt':19 'php':6 'polyfil':2,7,17 'provid':4 'symfoni':1,20","created_at":"2026-06-19T08:11:49.922294+00:00","updated_at":"2026-06-19T08:11:49.922294+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-mbstring","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}}