{"id":91169,"library":"web-token-jwt-library","title":"Web Token JWT Library","description":"JWT library","status":"active","version":"4.1.7","language":"php","source_language":null,"source_url":"https://github.com/web-token/jwt-library","tags":["jwt","authentication","security","token"],"install":[{"cmd":"composer require web-token/jwt-library","lang":"bash","label":"composer require"}],"dependencies":[],"imports":[{"symbol":"JWT","correct":"use WebToken\\JWT\\JWT;"}],"quickstart":{"code":"use WebToken\\JWT\\JWT;\n\n$jwt = JWT::encode(['sub' => '123'], 'secret', 'HS256');\necho $jwt;","lang":"php","description":"Encode a simple JWT with HS256"},"warnings":[{"fix":"Update all use statements to WebToken\\ namespace","message":"Breaking changes in version 4.0.0: namespace changed from Jose\\Component to WebToken","severity":"breaking","affected_versions":">=4.0.0"}],"env_vars":null,"search_vec":"'authent':8 'jwt':3,5,7 'librari':4,6 'secur':9 'token':2,10 'web':1","created_at":"2026-06-19T09:14:03.972451+00:00","updated_at":"2026-06-19T09:14:03.972451+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/web-token","github":"https://github.com/web-token/jwt-library","docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["auth","crypto"],"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}}