{"id":87175,"library":"php-extended-polyfill-php80-stringable","title":"PHP Extended Polyfill PHP 80 Stringable","description":"A polyfill that adds the stringable interface added in php8.0 to previous versions of php","status":"active","version":"1.2.12","language":"php","source_language":null,"source_url":"https://gitlab.com/php-extended/polyfill-php80-stringable","tags":["polyfill","php80","stringable","compatibility"],"install":[{"cmd":"composer require php-extended/polyfill-php80-stringable","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"Stringable","correct":"use PHPExtended\\Polyfill\\Php80\\Stringable;"}],"quickstart":{"code":"use PHPExtended\\Polyfill\\Php80\\Stringable;\n\nclass MyClass implements Stringable {\n    public function __toString(): string {\n        return 'string representation';\n    }\n}","lang":"php","description":"Implement Stringable interface on PHP 7.x"},"warnings":[{"fix":"Remove this package if using PHP 8.0+","message":"Only needed for PHP < 8.0","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'80':5 'ad':14 'add':10 'compat':25 'extend':2 'interfac':13 'php':1,4,21 'php8.0':16 'php80':23 'polyfil':3,8,22 'previous':18 'stringabl':6,12,24 'version':19","created_at":"2026-06-19T08:14:29.535310+00:00","updated_at":"2026-06-19T08:14:29.535310+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://gitlab.com/php-extended/polyfill-php80-stringable","github":null,"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}}