# namshi/jose

JSON Object Signing and Encryption library for PHP.

Repository: https://github.com/namshi/jose
Canonical: https://ross.abutalabs.com/products/namshi-jose
Language: PHP
License: MIT
License Family: permissive
Last push: 2021-06-18T12:34:30+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 4839, "days_push": 1902, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1804, forks 130 (observed 2026-08-28T04:05:38.868969+00:00)

## What it is
A lightweight PHP library implementing the JWS (JSON Web Signature) specification for signing and verifying JSON tokens, commonly used for JWT-style authentication. It is officially deprecated, with maintainers recommending firebase/php-jwt instead.

## Use cases
- sign and verify JWT tokens in PHP
- authenticate users via signed cookies
- implement token-based auth for a PHP API
- generate JWS tokens with RS256
- validate incoming auth tokens server-side

## When to choose
- you must maintain a legacy PHP 5.x codebase already using namshi/jose
- you need a minimal JWS implementation and accept no upstream support

## When to avoid
- starting a new project - use firebase/php-jwt instead
- you need actively maintained security-critical code
- you need modern PHP 8+ support or recent algorithm support

## Facets
- artifact type: library
- maturity: abandoned
- function: auth, cryptography, serialization
- domain: security, web-development, apis
- platform: php
- tags: jwt, jws, json-web-signature, token-authentication, deprecated

## Member repositories
- namshi/jose (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:38.868969+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:21:49.703485+00:00, confidence not recorded.
  - readme: https://github.com/namshi/jose (fetched 2026-08-28T04:05:38.868969+00:00, sha de8748250ea0)
- Data as of 2026-08-30T08:39:29.467469+00:00.
