{"id":91905,"library":"spiral-attributes","title":"Spiral Attributes","description":"PHP attributes reader.","status":"active","version":"3.1.8","language":"php","source_language":null,"source_url":"https://github.com/spiral/attributes","tags":["attributes","annotations","spiral","php8"],"install":[{"cmd":"composer require spiral/attributes","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"AnnotationReader","correct":"use Spiral\\Attributes\\AnnotationReader;"}],"quickstart":{"code":"use Spiral\\Attributes\\AnnotationReader;\n\n$reader = new AnnotationReader();\n$attributes = $reader->getClassMetadata(new \\ReflectionClass(MyClass::class));","lang":"php","description":"Read PHP attributes from classes."},"warnings":[{"fix":"Upgrade PHP to 8.0 or later.","message":"Requires PHP 8.0+ for attributes.","severity":"breaking","affected_versions":"<3.0"}],"env_vars":null,"search_vec":"'annot':7 'attribut':2,4,6 'php':3 'php8':9 'reader':5 'spiral':1,8","created_at":"2026-06-19T09:24:43.686995+00:00","updated_at":"2026-06-19T09:24:43.686995+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://spiral.dev","github":"https://github.com/spiral/attributes","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}}