PHPackages                             simpleapisecurity/php - 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. [Security](/categories/security)
4. /
5. simpleapisecurity/php

ActiveLibrary[Security](/categories/security)

simpleapisecurity/php
=====================

PHP bindings for libsodium in PHP.

0.1.0(10y ago)3202[1 issues](https://github.com/simpleapisecurity/php/issues)MITPHPPHP &gt;=5.5.9

Since Mar 6Pushed 10y ago1 watchersCompare

[ Source](https://github.com/simpleapisecurity/php)[ Packagist](https://packagist.org/packages/simpleapisecurity/php)[ Docs](https://github.com/simpleapisecurity/php)[ RSS](/packages/simpleapisecurity-php/feed)WikiDiscussions master Synced 1mo ago

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

Simple API Security for PHP
===========================

[](#simple-api-security-for-php)

[![Build Status](https://camo.githubusercontent.com/8d7ba07436fa7d28e9e536eaa42f518181deae5a2121c48df78fdc4528198d2a/68747470733a2f2f7472617669732d63692e6f72672f73696d706c6561706973656375726974792f7068702e737667)](https://travis-ci.org/simpleapisecurity/php)[![Total Downloads](https://camo.githubusercontent.com/a4dcf0db34f6dd7cc4651fdc08fe5ef3e439f18c63b3e275a348b576090bbf1d/68747470733a2f2f706f7365722e707567782e6f72672f73696d706c6561706973656375726974792f7068702f642f746f74616c2e737667)](https://packagist.org/packages/simpleapisecurity/php)[![Latest Stable Version](https://camo.githubusercontent.com/a9caf5d3ee8c5a495b76c9bc09f9e0724f1c29075a4658ee35bc6f66339bd309/68747470733a2f2f706f7365722e707567782e6f72672f73696d706c6561706973656375726974792f7068702f762f737461626c652e737667)](https://packagist.org/packages/simpleapisecurity/php)[![Latest Unstable Version](https://camo.githubusercontent.com/342a8d6693042ee58add077b0856a8ecd8c98746099f80af77ad11ddc1060ab0/68747470733a2f2f706f7365722e707567782e6f72672f73696d706c6561706973656375726974792f7068702f762f756e737461626c652e737667)](https://packagist.org/packages/simpleapisecurity/php)[![License](https://camo.githubusercontent.com/51f8b2254b79253e294fe262766581757cb03e380f1e33a113516c18b2160c22/68747470733a2f2f706f7365722e707567782e6f72672f73696d706c6561706973656375726974792f7068702f6c6963656e73652e737667)](https://packagist.org/packages/simpleapisecurity/php)[![Gitter](https://camo.githubusercontent.com/dad681159f26a53be10d190e71f2e3c8e1075f4cb89969dc0dfc4f7f5a1f7f48/68747470733a2f2f6261646765732e6769747465722e696d2f73696d706c6561706973656375726974792f7068702e737667)](https://gitter.im/simpleapisecurity/php)

The Simple API Security library is more logically wrap your application with libsodium.

Packaged Framework Libraries
----------------------------

[](#packaged-framework-libraries)

-

About Sodium
------------

[](#about-sodium)

The original Sodium project can be located [here](https://github.com/jedisct1/libsodium), the about Sodium is obtained from the readme in the source repository.

Sodium is a new, easy-to-use software library for encryption, decryption, signatures, password hashing and more.

It is a portable, cross-compilable, installable, packageable fork of [NaCl](http://nacl.cr.yp.to/), with a compatible API, and an extended API to improve usability even further.

Its goal is to provide all of the core operations needed to build higher-level cryptographic tools.

Sodium supports a variety of compilers and operating systems, including Windows (with MingW or Visual Studio, x86 and x64), iOS and Android.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.4% 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

Unknown

Total

1

Last Release

3716d ago

### Community

Maintainers

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

---

Top Contributors

[![scrothers](https://avatars.githubusercontent.com/u/111015?v=4)](https://github.com/scrothers "scrothers (27 commits)")[![bitbeans](https://avatars.githubusercontent.com/u/1482102?v=4)](https://github.com/bitbeans "bitbeans (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/simpleapisecurity-php/health.svg)

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

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M212](/packages/defuse-php-encryption)[roave/security-advisories

Prevents installation of composer packages with known security vulnerabilities: no API, simply require it

2.9k97.3M6.4k](/packages/roave-security-advisories)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M112](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41278.1M117](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

86917.5M63](/packages/bjeavons-zxcvbn-php)[enlightn/security-checker

A PHP dependency vulnerabilities scanner based on the Security Advisories Database.

33732.2M110](/packages/enlightn-security-checker)

PHPackages © 2026

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