PHPackages                             alphp/crypto-key-tools - 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. alphp/crypto-key-tools

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

alphp/crypto-key-tools
======================

A self-hosted collection of tools for generating, converting and inspecting cryptographic keys and related formats.

1.4.1(today)011↓100%MITPHPCI passing

Since Jul 5Pushed todayCompare

[ Source](https://github.com/alphp/Crypto-Key-Tools)[ Packagist](https://packagist.org/packages/alphp/crypto-key-tools)[ Docs](https://github.com/alphp/Crypto-Key-Tools)[ RSS](/packages/alphp-crypto-key-tools/feed)WikiDiscussions main Synced today

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

[![GitHub license](https://camo.githubusercontent.com/cb0c2affac5a20cede2ba4feeaf1c3a726d008dbffe6a38c8e3b8c43612aff6f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f616c7068702f43727970746f2d4b65792d546f6f6c73)](https://github.com/alphp/Crypto-Key-Tools/blob/master/LICENSE)[![GitHub tag (latest SemVer)](https://camo.githubusercontent.com/239ac05093a030f2751f2e6cec5f92271e055ebd4d45b40b3e72d8d531457a65/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f7461672f616c7068702f43727970746f2d4b65792d546f6f6c73)](https://github.com/alphp/Crypto-Key-Tools/tags)[![Packagist](https://camo.githubusercontent.com/1898dd425286f4d0e543ce65f76f20f356381a5311783bbaefa8cf3bfe970711/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f616c7068702f63727970746f2d6b65792d746f6f6c73)](https://packagist.org/packages/alphp/crypto-key-tools)[![Packagist Downloads](https://camo.githubusercontent.com/6082b401f521bc997f9df4818495917cc09109aa71ecc1745cce91c3fff4e779/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c7068702f63727970746f2d6b65792d746f6f6c73)](https://packagist.org/packages/alphp/crypto-key-tools/stats)[![GitHub issues](https://camo.githubusercontent.com/8e7e8b825bb9a1e6fa1514a4d5d1ae85667f469b770aa0421eeae46ad78a42d0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f616c7068702f43727970746f2d4b65792d546f6f6c73)](https://github.com/alphp/Crypto-Key-Tools/issues)[![GitHub forks](https://camo.githubusercontent.com/8f286ab86e0a13ac73b479dd16c71f9692579c19f978a05237db3d32f3c13cba/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f616c7068702f43727970746f2d4b65792d546f6f6c73)](https://github.com/alphp/Crypto-Key-Tools/network)[![GitHub stars](https://camo.githubusercontent.com/2b233d6d1e8aaeb520d12fe4f0a6ea1cb0117a19f1192f38a9029ebf816b4704/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f616c7068702f43727970746f2d4b65792d546f6f6c73)](https://github.com/alphp/Crypto-Key-Tools/stargazers)

Crypto Key Tools
================

[](#crypto-key-tools)

A self-hosted collection of tools for generating, converting and inspecting cryptographic keys and related formats.

> **Generate, convert and inspect cryptographic keys without sending sensitive data to third-party services.**

Why?
----

[](#why)

Many online tools are extremely useful when you need to generate a key pair, convert between formats or inspect certificates. However, using a third-party website means trusting that sensitive material is handled correctly.

**Crypto Key Tools** is designed for users and organizations that prefer to keep cryptographic material entirely within their own infrastructure.

Features
--------

[](#features)

- Generate cryptographic key pairs.
- Convert keys between multiple formats.
- Inspect keys, certificates and related cryptographic data.
- Browser-based interface.
- Agnostic Routing: Consistent behavior across LAMP (Apache), IIS, and PHP's built-in server.
- Easy deployment with Composer.

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

[](#installation)

### Recommended

[](#recommended)

Install the latest version directly with Composer:

```
composer create-project alphp/crypto-key-tools
```

The project will be installed in a new `crypto-key-tools` directory, ready to be served by your web server.

### From source

[](#from-source)

```
git clone https://github.com/alphp/crypto-key-tools.git
cd crypto-key-tools
composer install
```

Local Development
-----------------

[](#local-development)

For quick testing or development, you can use PHP's built-in web server. Since the project follows a Front Controller pattern where the entry point is located in the `wwwroot` directory, you must point the document root to that folder:

```
# From the project root directory
php -S localhost:8000 -t wwwroot
```

Why this works:
---------------

[](#why-this-works)

- **Agnostic Routing**: The system automatically calculates the `REQUEST_BASE`, ensuring that all internal links and the MiniRouter work correctly without manual configuration.
- **Security by Design**: By serving only the `wwwroot` folder, sensitive files like `bootstrap.php`, `constants.php`, and the `templates` directory remain outside the web-accessible path.

Usage
-----

[](#usage)

1. Deploy the project to your web server (or run it locally).
2. Open the application in your browser.
3. Select the desired cryptographic operation.
4. Generate, inspect or convert your keys.

Security
--------

[](#security)

This project is intended to be run on systems that you control.

- The system protects against direct access to sensitive files (`.env`, `.git`, `.config`) by routing them to the Front Controller for a controlled 404 state.
- Use HTTPS whenever possible and restrict access to trusted users.

License
-------

[](#license)

This project is licensed under the **MIT License**. See the `LICENSE` file for details.

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance100

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

10

Last Release

0d ago

### Community

Maintainers

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

---

Top Contributors

[![alphp](https://avatars.githubusercontent.com/u/8992091?v=4)](https://github.com/alphp "alphp (26 commits)")

---

Tags

certificatecryptocryptographydeveloper-toolskey-conversionkey-generationopensslpemphppkcsprivate-keypublic-keyself-hostedsshssh-keysysadminweb-toolsx509

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/alphp-crypto-key-tools/health.svg)

```
[![Health](https://phpackages.com/badges/alphp-crypto-key-tools/health.svg)](https://phpackages.com/packages/alphp-crypto-key-tools)
```

###  Alternatives

[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k44](/packages/civicrm-civicrm-core)[azuracast/azuracast

The AzuraCast self-hosted web radio station management suite.

3.9k27.8k](/packages/azuracast-azuracast)[phpseclib/mcrypt_compat

PHP 5.x-8.x polyfill for mcrypt extension

28131.4M43](/packages/phpseclib-mcrypt-compat)[phpseclib/phpseclib2_compat

phpseclib 2.0 polyfill built with phpseclib 3.0

132.1M17](/packages/phpseclib-phpseclib2-compat)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M582](/packages/shopware-core)[shopware/app-php-sdk

Shopware App SDK for PHP

15109.8k3](/packages/shopware-app-php-sdk)

PHPackages © 2026

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