PHPackages                             swiftcore-lib/php-jose - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. swiftcore-lib/php-jose

ActiveLibrary

swiftcore-lib/php-jose
======================

Pure PHP implementation of JSON Object Signing and Encryption library.

v0.3.0(9y ago)022MIT LicensePHPPHP ^5.6|^7.0

Since Sep 11Pushed 9y ago1 watchersCompare

[ Source](https://github.com/swiftcore-lib/php-jose)[ Packagist](https://packagist.org/packages/swiftcore-lib/php-jose)[ RSS](/packages/swiftcore-lib-php-jose/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (3)Dependencies (5)Versions (5)Used By (0)

Swiftcore JOSE PHP Library
==========================

[](#swiftcore-jose-php-library)

[![Build Status](https://camo.githubusercontent.com/4811f017beb83a877e103c923635e24550e7f6c96e02985a137e19c8aa4f5650/68747470733a2f2f7472617669732d63692e6f72672f7377696674636f72652d6c69622f7068702d6a6f73652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/swiftcore-lib/php-jose)[![Coverage Status](https://camo.githubusercontent.com/56a473f0809cece1e3c10a083298e172ce51a2409e1cbc70d2cf6d6ad8f132b7/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7377696674636f72652d6c69622f7068702d6a6f73652f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/swiftcore-lib/php-jose?branch=master)[![PHP 7 ready](https://camo.githubusercontent.com/1a46868c1319801ad40526badd6d2dcb18e873d516efb6a616ec3173c73996aa/687474703a2f2f7068703772656164792e74696d6573706c696e7465722e63682f7377696674636f72652d6c69622f7068702d6a6f73652f6d61737465722f62616467652e737667)](https://travis-ci.org/swiftcore-lib/php-jose)[![HHVM Status](https://camo.githubusercontent.com/fc75215b9167fc9074a58e05c3c281d5ae283d1638dc6d55047e4c44a5489bd4/687474703a2f2f6868766d2e683463632e64652f62616467652f7377696674636f72652d6c69622f7068702d6a6f73652e7376673f7374796c653d666c6174)](http://hhvm.h4cc.de/package/swiftcore-lib/php-jose)

A high performance pure PHP implementation of Javascript Object Signing and Encryption (JOSE).

Refer to [Wiki](https://github.com/swiftcore-lib/php-jose/wiki) page for more information.

Installation
------------

[](#installation)

Preferrable way to install via Composer:

```
composer require swiftcore-lib/php-jose

```

Notice &amp; Disclaimer
-----------------------

[](#notice--disclaimer)

> This library is stable now, all the methods are unit tested (100% codes are covered), It's not reaching major release version yet, API may change without prior notification.
>
> [Pull Request](https://github.com/swiftcore-lib/php-jose/pulls) are welcome. Please use [GitHub Issues](https://github.com/swiftcore-lib/php-jose/issues) for any issue / problem encoutered.

Roadmap
-------

[](#roadmap)

- v0.1 (September 2016):
    - JWS fundamental
    - JWS RSxxx (SHAxxx with RSA)
- v0.2 (September 2016):
    - JWS HSxxx (HMAC SHAxxx)
- v0.3 (September 2016)
    - JWS ESxxx (SHAxxx with ECDSA)
- v0.4 (October 2016)
    - JWS PSxxx (SHAxxx with RSA and MGF1)
- v1.0 (October 2016)
    - Full documentation of JWS
- v2.1 (December 2016):
    - JWE Implementation
- And more...

Known Issue
-----------

[](#known-issue)

- `mbstring.func_overload` may result `strlen()` unexpected result

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~2 days

Total

3

Last Release

3528d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/525b193b70d7cafa7e55ef2fcd76db9d525365076176c52ee1c7d03b19057151?d=identicon)[yquan](/maintainers/yquan)

---

Top Contributors

[![yquan](https://avatars.githubusercontent.com/u/1085871?v=4)](https://github.com/yquan "yquan (99 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/swiftcore-lib-php-jose/health.svg)

```
[![Health](https://phpackages.com/badges/swiftcore-lib-php-jose/health.svg)](https://phpackages.com/packages/swiftcore-lib-php-jose)
```

###  Alternatives

[duccio/apns-php

Apple Push Notification &amp; Feedback Provider

1.4k2.5M13](/packages/duccio-apns-php)[edamov/pushok

PHP client for Apple Push Notification Service (APNs) - Send push notifications to iOS using the new APNs HTTP/2 protocol with token-based (JWT with p8 private key) or certificate-based authentication

4093.0M16](/packages/edamov-pushok)[jublonet/codebird-php

Easy access to the Twitter REST API, Direct Messages API, Account Activity API, TON (Object Nest) API and Twitter Ads API — all from one PHP library.

770865.9k10](/packages/jublonet-codebird-php)[acmephp/acmephp

Let's Encrypt client written in PHP

649155.1k](/packages/acmephp-acmephp)[ass/xmlsecurity

The XmlSecurity library is written in PHP for working with XML Encryption and Signatures

955.6M30](/packages/ass-xmlsecurity)[pagseguro/pagseguro-php-sdk

Biblioteca de integração com o PagSeguro

312456.6k14](/packages/pagseguro-pagseguro-php-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
