PHPackages                             shailendrayadava86/encryption-client - 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. shailendrayadava86/encryption-client

ActiveLibrary[Security](/categories/security)

shailendrayadava86/encryption-client
====================================

It is used for Encrpty and Decrypt any text or provided String.

045PHP

Since Apr 7Pushed 7y agoCompare

[ Source](https://github.com/shailendrayadava86/encryption-client)[ Packagist](https://packagist.org/packages/shailendrayadava86/encryption-client)[ RSS](/packages/shailendrayadava86-encryption-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

encryption-client
=================

[](#encryption-client)

It is used for Encrpty and Decrypt any text or provided String.

Requirement -: PHPUnit 6.5.14 (We tested on PHP 7.1 version)

Installation -:
===============

[](#installation--)

"composer require shailendrayadava86/encryption-client:dev-master"

Note
====

[](#note)

If you are on php7 or higher version and not supported by mcrypt extension. You will get message "Please enable mcrypt extentsion." comment line number 16 in file Encrypt.php under encryption-client (path "/vendor/shailendrayadava86/encryption-client/src/") //die('Please enable mcypt extentsion.');

Note - The mcrypt extension was deprecated in php 7.1 therefore we need to use only openssl in PHP latest version.

PHPUnit Test -:
===============

[](#phpunit-test--)

Folder "unittest" required to be placed on root directory from path "/vendor/shailendrayadava86/encryption-client".

Command for PHPUnit entire 'EncryptProviderTest' file execution "vendor/bin/phpunit unittest/EncryptProviderTest"

Other PHPUnit File Execution Command for other Test Files (Tested)

1. "vendor/bin/phpunit unittest/DecryptProviderTest" (with PHPUnit Provider Usage)
2. "vendor/bin/phpunit --filter openssl unittest/ExampleTest.php"
3. "vendor/bin/phpunit unittest/ExampleTest"

To Run Example Files
====================

[](#to-run-example-files)

Place it under root directory Example Files are exampleopenssl.php and examplemcrypt.php It will run and give us exact output (encrypted and decrypted text).

For OPenSSL Encryption Encrypt::opensslEncript() and decryption is done by Encrypt::opensslDecript(). For Mcrypt Encrypt::mcryptEncript() and Encrypt::mcryptDecript().

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/6ff264624aaebb934752c5edb7fa32427dd392186b4787872741eda0e4076464?d=identicon)[shailendrayadava86](/maintainers/shailendrayadava86)

---

Top Contributors

[![shailendrayadava86](https://avatars.githubusercontent.com/u/49182874?v=4)](https://github.com/shailendrayadava86 "shailendrayadava86 (55 commits)")

### Embed Badge

![Health badge](/badges/shailendrayadava86-encryption-client/health.svg)

```
[![Health](https://phpackages.com/badges/shailendrayadava86-encryption-client/health.svg)](https://phpackages.com/packages/shailendrayadava86-encryption-client)
```

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M212](/packages/defuse-php-encryption)[roave/security-advisories

Prevents installation of composer packages with known security vulnerabilities: no API, simply require it

2.9k97.3M6.4k](/packages/roave-security-advisories)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M112](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41278.1M117](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

86917.5M63](/packages/bjeavons-zxcvbn-php)[enlightn/security-checker

A PHP dependency vulnerabilities scanner based on the Security Advisories Database.

33732.2M110](/packages/enlightn-security-checker)

PHPackages © 2026

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