PHPackages                             nullpobug/django-signing - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. nullpobug/django-signing

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

nullpobug/django-signing
========================

Django compatible signing library

v0.1.1(11mo ago)121[2 PRs](https://github.com/tokibito/php-django-signing/pulls)MITPHPPHP &gt;=8.1CI passing

Since May 26Pushed 11mo agoCompare

[ Source](https://github.com/tokibito/php-django-signing)[ Packagist](https://packagist.org/packages/nullpobug/django-signing)[ RSS](/packages/nullpobug-django-signing/feed)WikiDiscussions main Synced 1mo ago

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

nullpobug/django-signing
========================

[](#nullpobugdjango-signing)

Django compatible signing library for PHP

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

[](#installation)

```
composer require nullpobug/django-signing
```

Usage
-----

[](#usage)

```
use Nullpobug\Django\Signing\Api;

$secret_key = 'your-secret-key';
$salt = 'your-salt';
$compress = true; // Optional, default is false
$add_timestamp = true; // Optional, default is false

// Signing a value
$signed_value = Api::dumps([
    'key' => 'value',
    'foo' => 'bar',
], $secret_key, $salt, $compress, $add_timestamp);
echo "Signed Value: $signed_value\n";
// Signed Value: .eJyrVspOrVSyUipLzClNVdJRSsvPB_KSEouUagF46QiI:1uJbaB:IYz9-JnIyn7NAJJSIHe8eZ0vC3hj-3a_gFmCbpCrugU

// Unsigned value
$unsigned_value = Api::loads($signed_value, $secret_key, $salt);
echo print_r($unsigned_value);
// Array
// (
//     [key] => value
//     [foo] => bar
// )
```

Signed value is compatible with Django's signing library, allowing you to share signed data between PHP and Django applications.

Website
-------

[](#website)

This project is hosted on [GitHub](https://github.com/tokibito/php-django-signing).

License
-------

[](#license)

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance50

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 92.3% 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 ~0 days

Total

2

Last Release

356d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e82c96b7185756f7f2cd94692cc43b976f33cad48d80751e642a27922a2e1dc6?d=identicon)[tokibito](/maintainers/tokibito)

---

Top Contributors

[![tokibito](https://avatars.githubusercontent.com/u/27535?v=4)](https://github.com/tokibito "tokibito (12 commits)")[![zonuexe](https://avatars.githubusercontent.com/u/822086?v=4)](https://github.com/zonuexe "zonuexe (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/nullpobug-django-signing/health.svg)

```
[![Health](https://phpackages.com/badges/nullpobug-django-signing/health.svg)](https://phpackages.com/packages/nullpobug-django-signing)
```

PHPackages © 2026

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