# paragonie/paseto

Platform-Agnostic Security Tokens

Repository: https://github.com/paragonie/paseto
Canonical: https://ross.abutalabs.com/products/paseto
Homepage: https://paseto.io
Language: PHP
License: NOASSERTION
License Family: other
Topics: php, paseto, paseto-tokens
Last push: 2025-07-19T04:41:23+00:00

## Health v2 (maintenance only)
Score: 40/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 32, release rhythm 16, longevity 100
- inputs: {"age_days": 3165, "days_push": 410, "days_rel": 410, "gap_med": 170, "n_releases_24m": 2}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3398, forks 109 (observed 2026-08-28T04:08:02.682101+00:00)

## What it is
A PHP reference implementation of PASETO (Platform-Agnostic Security Tokens), a secure alternative to JWT/JWS/JWE. It supports PASETO protocol versions v3 and v4 for creating and verifying cryptographically sound tokens.

## Use cases
- issue and verify secure session tokens in PHP
- replace JWT with a safer token standard
- sign and encrypt stateless API tokens
- implement token-based authentication without JOSE pitfalls
- create platform-agnostic security tokens

## When to choose
- you need secure tokens in a PHP 8.1+ application
- you want to avoid JWT's known design flaws
- you need a well-audited reference implementation of PASETO

## When to avoid
- you must interoperate with existing JWT-based systems
- your project requires PHP older than 8.1 without upgrading
- you need PASERK key wrapping, which requires the separate paserk-php package

## Facets
- artifact type: library
- maturity: stable
- function: auth, cryptography, security, serialization
- domain: security, web-development, developer-tools
- platform: php
- tags: paseto, jwt-alternative, tokens, php-library

## Member repositories
- paragonie/paseto (main) score 40

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:02.682101+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-29T18:38:47.471924+00:00, confidence not recorded.
  - readme: https://github.com/paragonie/paseto (fetched 2026-08-28T04:08:02.682101+00:00, sha 4c0e38743526)
  - homepage: https://paseto.io (fetched 2026-08-29T09:32:47.723818+00:00, sha b6e559447e9f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
