PHPackages                             artisansdk/srp - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. artisansdk/srp

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

artisansdk/srp
==============

A client and server-side implementation in PHP of the Secure Remote Password (SRP-6a) protocol.

114.9k↓28.9%3PHP

Since Jan 20Pushed 3y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Secure Remote Protocol
======================

[](#secure-remote-protocol)

A client and server-side implementation in PHP of the Secure Remote Password (SRP-6a) protocol.

**Want to see a demo in Laravel?** Check out [dalabarge/srp-demo](https://github.com/dalabarge/srp-demo)

Table of Contents
-----------------

[](#table-of-contents)

- [Secure Remote Protocol](#secure-remote-protocol)
    - [Table of Contents](#table-of-contents)
- [Installation](#installation)
- [Usage Guide](#usage-guide)
- [Running the Tests](#running-the-tests)
- [Licensing](#licensing)

Installation
============

[](#installation)

The package installs into a PHP application like any other PHP package:

```
composer require artisansdk/srp
```

Usage Guide
===========

[](#usage-guide)

The common use cases for this package should be documented including any troubleshooting.

Running the Tests
=================

[](#running-the-tests)

The package is unit tested with 100% line coverage and path coverage. You can run the tests by simply cloning the source, installing the dependencies, and then running `./vendor/bin/phpunit`. Additionally included in the developer dependencies are some Composer scripts which can assist with Code Styling and coverage reporting:

```
composer test
composer fix
composer report
```

See the `composer.json` for more details on their execution and reporting output.

Licensing
=========

[](#licensing)

Copyright (c) 2019-2023 [Artisan Made, Co.](https://artisanmade.io)

This package is released under the MIT license. Please see the LICENSE file distributed with every copy of the code for commercial licensing terms.

Special thanks goes to [simon\_massey/thinbus-php-srp](https://bitbucket.org/simon_massey/thinbus-php/src/)for initial inspiration for both the PHP and JavaScript libraries. This demo would not be possible without his explanation of the mechanics of Secure Remote Password protocol.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/666d86ac1ee40735fd5eff2c8d7440d2021f5433217d74c101e7b1e39d611eed?d=identicon)[dalabarge](/maintainers/dalabarge)

---

Tags

authenticationclientpasswordphp7proof-of-passwordrfc-2945rfc-5054secure-remote-passwordserversrpsrp-6averifierzero-knowledge

### Embed Badge

![Health badge](/badges/artisansdk-srp/health.svg)

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

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[beatswitch/lock

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)[amocrm/amocrm-api-library

amoCRM API Client

182728.5k6](/packages/amocrm-amocrm-api-library)[vonage/jwt

A standalone package for creating JWTs for Vonage APIs

424.1M4](/packages/vonage-jwt)

PHPackages © 2026

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