PHPackages                             not-empty/credential-manager-php-lib - 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. not-empty/credential-manager-php-lib

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

not-empty/credential-manager-php-lib
====================================

PHP library for search credential in redis with Predis

7.0.0(2y ago)58[1 PRs](https://github.com/not-empty/credential-manager-php-lib/pulls)GPL-3.0-onlyPHPPHP ^8.3

Since Nov 4Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/not-empty/credential-manager-php-lib)[ Packagist](https://packagist.org/packages/not-empty/credential-manager-php-lib)[ RSS](/packages/not-empty-credential-manager-php-lib/feed)WikiDiscussions master Synced 1mo ago

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

PHP Credential Manager
======================

[](#php-credential-manager)

[![Latest Version](https://camo.githubusercontent.com/da85e86600b57c5fa3aa91c18466df7ce2872f5e1acfc02c1c42de4ccd3917d8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6e6f742d656d7074792f63726564656e7469616c2d6d616e616765722d7068702d6c69622e7376673f7374796c653d666c61742d737175617265)](https://github.com/not-empty/credential-manager-php-lib/releases)[![codecov](https://camo.githubusercontent.com/b0faebeef7b26702b9d6266ec60fcf152d497699bfe80f9068b79731edfa0079/68747470733a2f2f636f6465636f762e696f2f67682f6e6f742d656d7074792f63726564656e7469616c2d6d616e616765722d7068702d6c69622f67726170682f62616467652e7376673f746f6b656e3d41454d56313633555736)](https://codecov.io/gh/not-empty/credential-manager-php-lib)[![CI Build](https://camo.githubusercontent.com/099f6459152f01cbc001d5c832c3152a44f3ff802ada318d9811b642ea2679df/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6e6f742d656d7074792f63726564656e7469616c2d6d616e616765722d7068702d6c69622f7068702e796d6c)](https://github.com/not-empty/credential-manager-php-lib/actions/workflows/php.yml)[![Downloads Old](https://camo.githubusercontent.com/be70ed9280a56dd1a72dc55a3caa1602f75a12780a9e368ce73e70277a800295/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b697766792f63726564656e7469616c2d6d616e616765722d7068703f6c6f676f3d6f6c64266c6162656c3d646f776e6c6f6164732532306c6567616379)](https://packagist.org/packages/kiwfy/credential-manager-php)[![Downloads](https://camo.githubusercontent.com/82d234b87ddf0424cdd53bd6dcd434fcb050de6ed955ee55c722c85739ae1ebb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e6f742d656d7074792f63726564656e7469616c2d6d616e616765722d7068702d6c69623f6c6f676f3d6f6c64266c6162656c3d646f776e6c6f616473)](https://packagist.org/packages/not-empty/credential-manager-php-lib)[![PRs Welcome](https://camo.githubusercontent.com/25b3e6d0d42c98de74a98cbb4d149a1c09020cf6d1361993b72d7d5b8ffed363/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5052732d77656c636f6d652d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](http://makeapullrequest.com)[![Packagist License (custom server)](https://camo.githubusercontent.com/d078d0ffad264432c8d70cd0869e8fb955b845cc81fd8ca3fd8d90c3499d7997/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6e6f742d656d7074792f63726564656e7469616c2d6d616e616765722d7068702d6c6962)](https://github.com/not-empty/credential-manager-php-lib/blob/master/LICENSE)

PHP library for search credential in redis with Predis.

### Installation

[](#installation)

[Release 7.0.0](https://github.com/not-empty/credential-manager-php-lib/releases/tag/7.0.0) Requires [PHP](https://php.net) 8.3

[Release 6.0.0](https://github.com/not-empty/credential-manager-php-lib/releases/tag/6.0.0) Requires [PHP](https://php.net) 8.2

[Release 5.0.0](https://github.com/not-empty/credential-manager-php-lib/releases/tag/5.0.0) Requires [PHP](https://php.net) 8.1

[Release 4.0.0](https://github.com/not-empty/credential-manager-php-lib/releases/tag/4.0.0) Requires [PHP](https://php.net) 7.4

[Release 3.0.0](https://github.com/not-empty/credential-manager-php-lib/releases/tag/3.0.0) Requires [PHP](https://php.net) 7.3

[Release 2.0.0](https://github.com/not-empty/credential-manager-php-lib/releases/tag/2.0.0) Requires [PHP](https://php.net) 7.2

[Release 1.0.0](https://github.com/not-empty/credential-manager-php-lib/releases/tag/1.0.0) Requires [PHP](https://php.net) 7.1

The recommended way to install is through [Composer](https://getcomposer.org/).

```
composer require not-empty/credential-manager-php-lib
```

### Usage

[](#usage)

Setting a credential

```
use CredentialManager\Credential;
$redisConfig = [
    'host' => 'localhost',
    'port' => 6379,
];
$credential = new Credential($redisConfig);
$credential->setCredential(
    'originName',
    'serviceName',
    'CredentialSample'
);
$getCredential = $credential->getCredential('originName', 'serviceName');
var_dump($getCredential);
```

if you want an environment to run or test it, you can build and install dependences like this

```
docker build --build-arg PHP_VERSION=8.3-rc-cli -t not-empty/credential-manager-php-lib:php83 -f contrib/Dockerfile .
```

Access the container

```
docker run -v ${PWD}/:/var/www/html -it not-empty/credential-manager-php-lib:php83 bash
```

Verify if all dependencies is installed

```
composer install --no-dev --prefer-dist
```

and run

```
php sample/credential-sample.php
```

### Development

[](#development)

Want to contribute? Great!

The project using a simple code. Make a change in your file and be careful with your updates! **Any new code will only be accepted with all validations.**

To ensure that the entire project is fine:

First you need to building a correct environment to install all dependences

```
docker build --build-arg PHP_VERSION=8.3-rc-cli -t not-empty/credential-manager-php-lib:php83 -f contrib/Dockerfile .
```

Access the container

```
docker run -v ${PWD}/:/var/www/html -it not-empty/credential-manager-php-lib:php83 bash
```

Install all dependences

```
composer install --dev --prefer-dist
```

Run all validations

```
composer check
```

**Not Empty Foundation - Free codes, full minds**

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance59

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 70% 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 ~5 days

Total

7

Last Release

898d ago

Major Versions

5.0.0 → 6.0.02023-11-04

1.0.0 → 2.0.02023-11-04

2.0.0 → 3.0.02023-11-04

3.0.0 → 4.0.02023-11-04

4.0.0 → 7.0.02023-12-02

PHP version history (7 changes)5.0.0PHP ^8.1

6.0.0PHP ^8.2

1.0.0PHP ^7.1

2.0.0PHP ^7.2

3.0.0PHP ^7.3

4.0.0PHP ^7.4

7.0.0PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/febe33cd8961e65ed6afafa8b426ad68f95521285e9145313764001d67028914?d=identicon)[not-empty](/maintainers/not-empty)

---

Top Contributors

[![victoriatonhole](https://avatars.githubusercontent.com/u/47702167?v=4)](https://github.com/victoriatonhole "victoriatonhole (7 commits)")[![leodisarli](https://avatars.githubusercontent.com/u/1638455?v=4)](https://github.com/leodisarli "leodisarli (3 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/not-empty-credential-manager-php-lib/health.svg)

```
[![Health](https://phpackages.com/badges/not-empty-credential-manager-php-lib/health.svg)](https://phpackages.com/packages/not-empty-credential-manager-php-lib)
```

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

22.8k69.3k](/packages/grumpydictator-firefly-iii)[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)[php-junior/laravel-video-chat

Laravel Video Chat using Socket.IO and WebRTC

82018.1k](/packages/php-junior-laravel-video-chat)[vcian/pulse-active-sessions

A Laravel Pulse card to show active user session.

11469.2k](/packages/vcian-pulse-active-sessions)[splitsoftware/split-sdk-php

Split SDK for PHP

161.3M2](/packages/splitsoftware-split-sdk-php)[vwo/vwo-php-sdk

VWO server side sdk

12166.4k](/packages/vwo-vwo-php-sdk)

PHPackages © 2026

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