{"id":88547,"library":"robrichards-xmlseclibs","title":"XML Security Library","description":"A PHP library for XML Security.","status":"active","version":"3.1.5","language":"php","source_language":null,"source_url":"https://github.com/robrichards/xmlseclibs","tags":["xml","security","signature","encryption"],"install":[{"cmd":"composer require robrichards/xmlseclibs","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"XMLSecurityDSig","correct":"use RobRichards\\XMLSecLibs\\XMLSecurityDSig;"}],"quickstart":{"code":"use RobRichards\\XMLSecLibs\\XMLSecurityDSig;\n\n$doc = new DOMDocument();\n$doc->load('signed.xml');\n$objDSig = new XMLSecurityDSig();\n$objDSig->locateSignature($doc);\n$objDSig->validateReference();\n$key = $objDSig->locateKey();\nif ($objDSig->verify($key)) {\n    echo \"Signature valid\";\n}","lang":"php","description":"Verify an XML digital signature."},"warnings":[{"fix":"Install the PHP xml extension and ensure PHP version >= 7.1.","message":"Requires PHP 7.1+ and the xml extension","severity":"breaking","affected_versions":"<3.1.0"}],"env_vars":null,"search_vec":"'encrypt':13 'librari':3,6 'php':5 'secur':2,9,11 'signatur':12 'xml':1,8,10","created_at":"2026-06-19T08:34:02.894127+00:00","updated_at":"2026-06-19T08:34:02.894127+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://github.com/robrichards/xmlseclibs","github":"https://github.com/robrichards/xmlseclibs","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["crypto","serialization"],"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}}