PHPackages                             mariadb/mysqlnd\_ed25519 - 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. mariadb/mysqlnd\_ed25519

ActivePhp-ext[Authentication &amp; Authorization](/categories/authentication)

mariadb/mysqlnd\_ed25519
========================

MariaDB ed25519 authentication plugin for mysqlnd

1.0.2(6mo ago)0411[1 PRs](https://github.com/mariadb-corporation/mysqlnd_ed25519/pulls)BSD-3-ClauseCPHP &gt;=8.2CI passing

Since Aug 4Pushed 5mo agoCompare

[ Source](https://github.com/mariadb-corporation/mysqlnd_ed25519)[ Packagist](https://packagist.org/packages/mariadb/mysqlnd_ed25519)[ RSS](/packages/mariadb-mysqlnd-ed25519/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)DependenciesVersions (6)Used By (0)

mysqlnd\_ed25519 plugin
=======================

[](#mysqlnd_ed25519-plugin)

A **mysqlnd authentication plugin** providing **Ed25519-based authentication** for PHP when connecting to MariaDB servers.

Why?
----

[](#why)

PHP currently connects to MariaDB servers using `mysql_native_password`, which relies on **SHA1**, a deprecated and insecure algorithm.

**Ed25519** provides modern, secure, and fast public-key authentication, helping to eliminate SHA1 usage in your PHP–MariaDB connections.

Features
--------

[](#features)

- **Ed25519 authentication** using [libsodium](https://libsodium.org/).
- Drop-in authentication plugin for **mysqlnd**.
- Supports MariaDB servers configured with the `ed25519` authentication plugin.

Requirements
------------

[](#requirements)

- PHP 8.1 or newer with `mysqlnd`.
- `libsodium` development libraries.
- MariaDB server configured with `ed25519` authentication plugin. (version 10.4.3 or newer)

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

[](#installation)

### Normal installation

[](#normal-installation)

`mysqlnd_ed25519` is usually built and installed automatically when installed through PHP's pie installer.

On Posix systems the pie installer also adds a configuration entry for the mysqlnd\_ed25519 plugin. On Windows you need to enable the plugin in your php.init file:

```
extension=mysqlnd_ed25519

```

### Building from source

[](#building-from-source)

If you cloned the repository or want to build manually:

```
phpize
./configure
make
sudo make install
```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance70

Regular maintenance activity

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92% 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 ~33 days

Total

4

Last Release

181d ago

Major Versions

v0.9.0 → v1.0.02025-11-01

PHP version history (2 changes)v0.9.0PHP &gt;=8.1

1.0.2PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/947718dcd312218e39ac70b8768966c04ede2a1a3d280a468352ce92f04819c9?d=identicon)[mariadb](/maintainers/mariadb)

![](https://www.gravatar.com/avatar/e2cc87ae58aa19814137269187cf4d8a22df694ed387d958dd71f678e5723deb?d=identicon)[9EOR9](/maintainers/9EOR9)

---

Top Contributors

[![9EOR9](https://avatars.githubusercontent.com/u/7883093?v=4)](https://github.com/9EOR9 "9EOR9 (23 commits)")[![remicollet](https://avatars.githubusercontent.com/u/270445?v=4)](https://github.com/remicollet "remicollet (2 commits)")

### Embed Badge

![Health badge](/badges/mariadb-mysqlnd-ed25519/health.svg)

```
[![Health](https://phpackages.com/badges/mariadb-mysqlnd-ed25519/health.svg)](https://phpackages.com/packages/mariadb-mysqlnd-ed25519)
```

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[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)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M118](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

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

PHPackages © 2026

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