{"id":13510622,"url":"https://github.com/paragonie/paseto","last_synced_at":"2025-05-13T21:07:44.334Z","repository":{"id":37483162,"uuid":"115975835","full_name":"paragonie/paseto","owner":"paragonie","description":"Platform-Agnostic Security Tokens","archived":false,"fork":false,"pushed_at":"2025-01-29T11:21:34.000Z","size":961,"stargazers_count":3301,"open_issues_count":1,"forks_count":107,"subscribers_count":72,"default_branch":"master","last_synced_at":"2025-04-28T13:59:19.388Z","etag":null,"topics":["paseto","paseto-tokens","php"],"latest_commit_sha":null,"homepage":"https://paseto.io","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/paragonie.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-01-02T04:50:29.000Z","updated_at":"2025-04-27T00:12:46.000Z","dependencies_parsed_at":"2023-01-29T02:31:11.511Z","dependency_job_id":"0d974339-8b3b-4d4c-9047-34bae715fc9e","html_url":"https://github.com/paragonie/paseto","commit_stats":{"total_commits":485,"total_committers":30,"mean_commits":"16.166666666666668","dds":0.2247422680412371,"last_synced_commit":"b9f8ae45cc92cb3b5b94b6880c59cc6ba95f3e6a"},"previous_names":[],"tags_count":32,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paragonie%2Fpaseto","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paragonie%2Fpaseto/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paragonie%2Fpaseto/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paragonie%2Fpaseto/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paragonie","download_url":"https://codeload.github.com/paragonie/paseto/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254028831,"owners_count":22002279,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["paseto","paseto-tokens","php"],"created_at":"2024-08-01T02:01:47.395Z","updated_at":"2025-05-13T21:07:39.325Z","avatar_url":"https://github.com/paragonie.png","language":"PHP","funding_links":[],"categories":["Table of Contents","PHP","目录","php"],"sub_categories":["Authentication and Authorization","身份验证和授权 Authentication and Authorization","Library"],"readme":"# PASETO: Platform-Agnostic Security Tokens\n\n[![Build Status](https://github.com/paragonie/paseto/actions/workflows/ci.yml/badge.svg)](https://github.com/paragonie/paseto/actions)\n[![Latest Stable Version](https://poser.pugx.org/paragonie/paseto/v/stable)](https://packagist.org/packages/paragonie/paseto)\n[![Latest Unstable Version](https://poser.pugx.org/paragonie/paseto/v/unstable)](https://packagist.org/packages/paragonie/paseto)\n[![License](https://poser.pugx.org/paragonie/paseto/license)](https://packagist.org/packages/paragonie/paseto)\n[![Downloads](https://img.shields.io/packagist/dt/paragonie/paseto.svg)](https://packagist.org/packages/paragonie/paseto)\n\nPaseto (pɔːsɛtəʊ, paw-set-oh) is everything you love about JOSE (JWT, JWE, JWS) without any of the\n[many design deficits that plague the JOSE standards](https://paragonie.com/blog/2017/03/jwt-json-web-tokens-is-bad-standard-that-everyone-should-avoid).\n\nThis library is a reference implementation of PASETO in the PHP language.\nPlease refer to the [**PASETO Specification**](https://github.com/paseto-standard/paseto-spec)\nfor design considerations.\n\n## How to Use this Library\n\nSee [the documentation](https://github.com/paragonie/paseto/tree/master/docs).\n\nThe [PASETO specification](https://github.com/paseto-standard/paseto-spec) may also be useful\nfor understanding why things are designed the way they are.\n\n### PASETO Extensions\n\n#### PASERK\n\nFor key wrapping, serialization, and canonical identification, please see the\n[PHP implementation of PASERK](https://github.com/paragonie/paserk-php).\n\nIf you're not sure what that means, please refer to the\n[PASERK specification](https://github.com/paseto-standard/paserk).\n\nSince PASERK is a PASETO extension, PASERK support is not automatically included\nwith PASETO, but PASETO is bundled with PASERK.\n\n### Requirements\n\n#### PHP PASETO Library Version 3\n\n* Requires PHP 8.1 or newer.\n* For v3 tokens, the GMP and OpenSSL extensions are required.\n* For v4 tokens, the Sodium extension is strongly recommended (but this library will use\n  [sodium_compat](https://github.com/paragonie/sodium_compat) if it's not).\n* PASETO Protocol versions: `v3`, `v4`\n\n#### PHP PASETO Library Version 2\n\n* Requires PHP 7.1 or newer.\n* For v3 tokens, the GMP and OpenSSL extensions are required.\n* For v4 tokens, the Sodium extension is strongly recommended (but this library will use\n  [sodium_compat](https://github.com/paragonie/sodium_compat) if it's not).\n* PASETO Protocol versions: `v1`, `v2`, `v3`, `v4`\n\n#### PHP PASETO Library Version 1\n\n* Requires PHP 7.0 or newer.\n* For v1 tokens, the OpenSSL extension is required.\n* For v2 tokens, the Sodium extension is strongly recommended (but this library will use\n  [sodium_compat](https://github.com/paragonie/sodium_compat) if it's not).\n* PASETO Protocol versions: `v1`, `v2`\n\n## Support Contracts\n\nIf your company uses this library in their products or services, you may be\ninterested in [purchasing a support contract from Paragon Initiative Enterprises](https://paragonie.com/enterprise).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparagonie%2Fpaseto","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparagonie%2Fpaseto","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparagonie%2Fpaseto/lists"}