PHPackages                             xclydes/x-keepass-php - 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. xclydes/x-keepass-php

ActiveLibrary[Security](/categories/security)

xclydes/x-keepass-php
=====================

A library for reading KeePass 2.x databases

1.0.0(6y ago)13.0k2MITPHPPHP &gt;=5.3.0

Since Mar 10Pushed 6y ago1 watchersCompare

[ Source](https://github.com/xclydes/x-keepass-php)[ Packagist](https://packagist.org/packages/xclydes/x-keepass-php)[ RSS](/packages/xclydes-x-keepass-php/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (2)Used By (0)

This is a fork of [KeePassPHP](https://github.com/julienblitte/KeePassPHP).
===========================================================================

[](#this-is-a-fork-of-keepassphp)

Changes
-------

[](#changes)

- Refactor the project to use PSR-4 Autoloading
- Implement the handling of Binary (attachments in KeePass) in **Meta**, as well as references in **Entry** tags.

Usage
-----

[](#usage)

```
require_once '../vendor/autoload.php';

use KeePassPHP\KeePassPHP;
use KeePassPHP\Key\CompositeKey;
use KeePassPHP\Lib\Database;

$file = '/path/to/your/file.kdbx';
$secret = 'YouKdbxPassword';

//Store any error messages
$err = '';
//Create a composite key
$ckey = new CompositeKey();
//Attach the password key
$ckey->addKey( KeePassPHP::keyFromPassword( $secret ) );
//Open the databsae file
/** @var Database $db */
$db = KeePassPHP::openDatabaseFile($file, $ckey, $err);
//Iterate the list of binaries
foreach($db->getBinaries() as $binary) {
    echo $binary->getContent() ."\r\n---\r\n";
}
```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

2258d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

securitycryptographyencryptioncryptopasswordencryptopensslciphermanagerkeepass

### Embed Badge

![Health badge](/badges/xclydes-x-keepass-php/health.svg)

```
[![Health](https://phpackages.com/badges/xclydes-x-keepass-php/health.svg)](https://phpackages.com/packages/xclydes-x-keepass-php)
```

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[phpseclib/phpseclib

PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.

5.6k434.8M1.3k](/packages/phpseclib-phpseclib)[poly-crypto/poly-crypto

High-level cryptographic functions that are interoperable between NodeJS and PHP 7.1+

127.8k1](/packages/poly-crypto-poly-crypto)[miladrahimi/phpcrypt

Encryption, decryption, and hashing tools for PHP projects

3171.5k2](/packages/miladrahimi-phpcrypt)

PHPackages © 2026

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