PHPackages                             mblsolutions/mcryptgatewayservice - 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. [API Development](/categories/api)
4. /
5. mblsolutions/mcryptgatewayservice

ActiveLibrary[API Development](/categories/api)

mblsolutions/mcryptgatewayservice
=================================

Package to allow interaction to MBL Solutions Mcrypt Gateway

v1.2.0(5y ago)06.0k↑1450%2MITPHPPHP &gt;=7.1.0CI failing

Since Sep 11Pushed 5y ago1 watchersCompare

[ Source](https://github.com/mblsolutions/mcryptgatewayservice)[ Packagist](https://packagist.org/packages/mblsolutions/mcryptgatewayservice)[ RSS](/packages/mblsolutions-mcryptgatewayservice/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (6)Dependencies (3)Versions (7)Used By (0)

MBL Solutions Mcrypt Gateway Service
====================================

[](#mbl-solutions-mcrypt-gateway-service)

[![CircleCI](https://camo.githubusercontent.com/3b44308aa849848a9135f02908379678f921a7e8d3b745da79e88c34f4c95e3f/68747470733a2f2f636972636c6563692e636f6d2f67682f6d626c736f6c7574696f6e732f6d637279707467617465776179736572766963652e7376673f7374796c653d737667)](https://circleci.com/gh/mblsolutions/mcryptgatewayservice)

Package to interact with the MBL Solutions Mcrypt Gateway Service.

Allows versions of PHP that do not support mcrypt\_encrypt and mcrypt\_decrypt to handle Mcrypt encryption and decryption.

Installation with Composer
--------------------------

[](#installation-with-composer)

`composer require mblsolutions/mcryptgatewayservice`

Usage
-----

[](#usage)

Data passed in should be base64 encoded

### Encryption

[](#encryption)

```
$mcryptService = new MBLSolutions\McryptService('https://example.execute-api.eu-west-1.amazonaws.com', 'prod');

$string = base64_encode('password'); // Encrypted base64 encoded string `password`
$secret = base64_encode('thisisatwentyfourcharkey'); // encryption secret

$result = $mcryptService->encrypt($string, $secret); // Encrypts into 0sQg7vz6S9g=
```

### Decryption

[](#decryption)

```
$mcryptService = new MBLSolutions\McryptService('https://example.execute-api.eu-west-1.amazonaws.com', 'prod');

$encrypted = '0sQg7vz6S9g='; // Encrypted base64 encoded string `password`
$secret = base64_encode('thisisatwentyfourcharkey'); // encryption secret

$result = $mcryptService->decrypt($encrypted, $secret); // Decrypts into cGFzc3dvcmQ=

base64_decode($result); // password
```

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity62

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

Recently: every ~187 days

Total

6

Last Release

2104d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/610936?v=4)[Christian Innerbichler](/maintainers/lerouse)[@lerouse](https://github.com/lerouse)

![](https://www.gravatar.com/avatar/102e5b958c4a1e833fd8812ac866581ccf52bbc0cd9627253589025c42cf0f37?d=identicon)[hayleyberryl2s](/maintainers/hayleyberryl2s)

---

Top Contributors

[![lerouse](https://avatars.githubusercontent.com/u/610936?v=4)](https://github.com/lerouse "lerouse (12 commits)")

---

Tags

servicemcryptgatewaymblsolutions

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mblsolutions-mcryptgatewayservice/health.svg)

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

###  Alternatives

[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M47](/packages/tencentcloud-tencentcloud-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

563.6M13](/packages/checkout-checkout-sdk-php)[avalara/avataxclient

Client library for Avalara's AvaTax suite of business tax calculation and processing services. Uses the REST v2 API.

528.5M7](/packages/avalara-avataxclient)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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