PHPackages                             fireboostio/php-encryptor - 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. [Security](/categories/security)
4. /
5. fireboostio/php-encryptor

Abandoned → [fireboostio/fireboost-php-client](/?search=fireboostio%2Ffireboost-php-client)Library[Security](/categories/security)

fireboostio/php-encryptor
=========================

Encryptor package for fireboost.io. This package will create the input data for the authentication

v0.0.5(11mo ago)116MITPHP

Since Jul 4Pushed 11mo ago1 watchersCompare

[ Source](https://github.com/fireboostio/fireboost-php-auth)[ Packagist](https://packagist.org/packages/fireboostio/php-encryptor)[ RSS](/packages/fireboostio-php-encryptor/feed)WikiDiscussions main Synced 1mo ago

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

PHP-encryptor
=============

[](#php-encryptor)

Fireboost-php-auth is a small PHP library created for [fireboost.io](https://fireboost.io). This library provides functionalities to extract payloads from API keys, encrypt API keys, and create login input data from API keys for authentication purposes.

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

[](#installation)

You can install the fireboost-php-auth library via Composer:

```
composer require fireboostio/fireboost-php-auth
```

Usage
-----

[](#usage)

Below are examples demonstrating how to use the library:

### Extracting API Key Payload

[](#extracting-api-key-payload)

To extract the payload from a Fireboost API key, use the `ApiKeyExtractor` class:

```
use FireboostIO\Encryptor\ApiKeyExtractor;

$apiKeyExtractor = new ApiKeyExtractor();
$payload = $apiKeyExtractor->getApiKeyPayload($apiKey);
```

### Encrypting API Key

[](#encrypting-api-key)

To get the encrypted API key from the API key token, use the `KeyEncryptor` class:

```
use FireboostIO\Encryptor\KeyEncryptor;

$keyEncryptor = new KeyEncryptor();
$encryptedApiKey = $keyEncryptor->getEncryptedApiKey($apiKey);
```

### Creating Login Input Data

[](#creating-login-input-data)

To create the login input data from the API key, use the `CredentialExtractor` class. This is the main functionality of the library, allowing the creation of login data from the API key for authentication:

```
use FireboostIO\Encryptor\CredentialExtractor;

$credentialExtractor = new CredentialExtractor();
$loginInputData = $credentialExtractor->getLoginInputData($apiKey);
```

License
-------

[](#license)

This project is licensed under the MIT License. See the [LICENSE](https://github.com/fireboostio/php-encryptor/blob/main/LICENSE) file for details.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance52

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 64.3% 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 ~87 days

Total

5

Last Release

331d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a0becae783b1cfccd0acb9112b005512188c6345195995bca1cf6725d72659e9?d=identicon)[fireboost.io](/maintainers/fireboost.io)

---

Top Contributors

[![bodorszilard](https://avatars.githubusercontent.com/u/10059002?v=4)](https://github.com/bodorszilard "bodorszilard (9 commits)")[![lehelmatyus](https://avatars.githubusercontent.com/u/1402112?v=4)](https://github.com/lehelmatyus "lehelmatyus (5 commits)")

### Embed Badge

![Health badge](/badges/fireboostio-php-encryptor/health.svg)

```
[![Health](https://phpackages.com/badges/fireboostio-php-encryptor/health.svg)](https://phpackages.com/packages/fireboostio-php-encryptor)
```

###  Alternatives

[singpolyma/openpgp-php

Pure-PHP implementation of the OpenPGP Message Format (RFC 4880)

184795.6k10](/packages/singpolyma-openpgp-php)[payu/apple-pay

ApplePay Token Decoder

51983.2k](/packages/payu-apple-pay)[mlocati/ocsp

Library to query HTTPS Certificates revocation status using the Online Certificate Status Protocol (OCSP)

40754.7k2](/packages/mlocati-ocsp)[spatie/ssl-certificate-chain-resolver

SSL certificate chain resolver

3069.6k](/packages/spatie-ssl-certificate-chain-resolver)[camcima/dukpt-php

DUKPT implementation in PHP

25153.1k](/packages/camcima-dukpt-php)

PHPackages © 2026

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