PHPackages                             pear/auth\_sasl2 - 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. pear/auth\_sasl2

ActiveLibrary

pear/auth\_sasl2
================

Provides code to generate responses to common SASL mechanisms, including: \[Digest-MD5, Cram-MD5, Plain, Anonymous, Login (Pseudo mechanism), SCRAM\]

v0.3.0(2y ago)37084[3 issues](https://github.com/pear/Auth_SASL2/issues)BSD-3-ClausePHPPHP &gt;=5.4.0

Since Mar 7Pushed 1y ago16 watchersCompare

[ Source](https://github.com/pear/Auth_SASL2)[ Packagist](https://packagist.org/packages/pear/auth_sasl2)[ Docs](https://github.com/pear/Auth_SASL2)[ RSS](/packages/pear-auth-sasl2/feed)WikiDiscussions master Synced 1mo ago

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

Auth\_SASL2 - Abstraction of various SASL2 mechanism responses
==============================================================

[](#auth_sasl2---abstraction-of-various-sasl2-mechanism-responses)

[![Test Status](https://github.com/pear/Auth_SASL2/actions/workflows/ci.yml/badge.svg)](https://github.com/pear/Auth_SASL2/actions/workflows/ci.yml)

Provides code to generate responses to common SASL2 mechanisms, including:

- Anonymous
- Cram-MD5 (DEPRECATED)
- Digest-MD5 (DEPRECATED)
- External
- Login (Pseudo mechanism) (DEPRECATED)
- Plain
- SCRAM

[Homepage](http://pear.php.net/package/Auth_SASL2/)

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

[](#installation)

For a PEAR installation that downloads from the PEAR channel:

`$ pear install pear/auth_sasl2`

For a PEAR installation from a previously downloaded tarball:

`$ pear install Auth_SASL2-*.tgz`

For a PEAR installation from a code clone:

`$ pear install package.xml`

For a local composer installation:

`$ composer install`

To add as a dependency to your composer-managed application:

`$composer require pear/auth_sasl2`

Tests
-----

[](#tests)

Run the tests from a local composer installation:

`$ ./vendor/bin/phpunit`

License
-------

[](#license)

BSD-3-Clause license

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance7

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community23

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor3

3 contributors hold 50%+ of commits

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 ~826 days

Total

4

Last Release

871d ago

Major Versions

v0.4.0.x-dev → v1.0.0.x-dev2023-11-27

### Community

Maintainers

![](https://www.gravatar.com/avatar/1323714f58f9144af310e5e4217e61b96ad7c42bc5c93a1f2d97deca95f6f4f8?d=identicon)[ashnazg](/maintainers/ashnazg)

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

![](https://www.gravatar.com/avatar/244aa5ea757c09dc227ef8762d2a461d26774995b610c39c252dd12da93ebf2b?d=identicon)[saltybeagle](/maintainers/saltybeagle)

---

Top Contributors

[![ashnazg](https://avatars.githubusercontent.com/u/100170?v=4)](https://github.com/ashnazg "ashnazg (11 commits)")[![CloCkWeRX](https://avatars.githubusercontent.com/u/365751?v=4)](https://github.com/CloCkWeRX "CloCkWeRX (6 commits)")[![schengawegga](https://avatars.githubusercontent.com/u/3207865?v=4)](https://github.com/schengawegga "schengawegga (6 commits)")[![kenguest](https://avatars.githubusercontent.com/u/234118?v=4)](https://github.com/kenguest "kenguest (5 commits)")[![cweiske](https://avatars.githubusercontent.com/u/59036?v=4)](https://github.com/cweiske "cweiske (4 commits)")[![mj](https://avatars.githubusercontent.com/u/5277?v=4)](https://github.com/mj "mj (3 commits)")[![matsuo](https://avatars.githubusercontent.com/u/141021?v=4)](https://github.com/matsuo "matsuo (2 commits)")[![derickr](https://avatars.githubusercontent.com/u/208074?v=4)](https://github.com/derickr "derickr (1 commits)")[![troymccabe](https://avatars.githubusercontent.com/u/1299743?v=4)](https://github.com/troymccabe "troymccabe (1 commits)")

---

Tags

sasl

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pear-auth-sasl2/health.svg)

```
[![Health](https://phpackages.com/badges/pear-auth-sasl2/health.svg)](https://phpackages.com/packages/pear-auth-sasl2)
```

###  Alternatives

[fabiang/sasl

Abstraction of various SASL mechanism responses.

1245.4k1](/packages/fabiang-sasl)

PHPackages © 2026

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