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

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

free2er/ed25519
===============

Ed25519 key tools

1.11.0(6y ago)016[1 PRs](https://github.com/free2er/ed25519/pulls)1MITPHPPHP ^7.4CI failing

Since Mar 15Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/free2er/ed25519)[ Packagist](https://packagist.org/packages/free2er/ed25519)[ RSS](/packages/free2er-ed25519/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (3)Dependencies (3)Versions (5)Used By (1)

ed25519
=======

[](#ed25519)

Ed25519 key tools

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

[](#installation)

This component can be installed with the [Composer](https://getcomposer.org/) dependency manager.

1. [Install Composer](https://getcomposer.org/doc/00-intro.md)
2. Install the component as a dependency of your project

    ```
     composer require free2er/ed25519

    ```

Usage
-----

[](#usage)

Generate new key

```
use Free2er\Ed25519\Key;

$privateKey = Key::generate();

echo $privateKey->toPem();
echo $privateKey->toPublic()->toPem();
```

Create key from file

```
use Free2er\Ed25519\Key;

$privateKey = Key::createFromKeyFile('/path/to/private.key');

echo $privateKey->toPem();
echo $privateKey->toPublic()->toPem();

$publicKey = Key::createFromKeyFile('/path/to/public.key');

echo $publicKey->toPem();
```

OpenSSL commands
----------------

[](#openssl-commands)

Generate private key

```
openssl genpkey -algorithm Ed25519 -out private.key
```

Extract public key

```
openssl pkey -in private.key -pubout -out public.key
```

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance49

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

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

3

Last Release

2299d ago

PHP version history (2 changes)1.0.0PHP ^7.3

1.1.0PHP ^7.4

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/156442?v=4)[Max Pryakhin](/maintainers/free2er)[@free2er](https://github.com/free2er)

---

Top Contributors

[![free2er](https://avatars.githubusercontent.com/u/156442?v=4)](https://github.com/free2er "free2er (6 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[zoha/laravel-meta

a package for working with models meta

236133.9k](/packages/zoha-laravel-meta)[instasent/sms-counter-php

SMS Counter PHP Class Library which detects encoding of an SMS message text, counts the characters as per the encoding and gives page limit information.

501.4M4](/packages/instasent-sms-counter-php)

PHPackages © 2026

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