PHPackages                             hankit/keepassphp - 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. hankit/keepassphp

ActiveLibrary

hankit/keepassphp
=================

Library to parse .kdbx files in PHP

1.0.1(2mo ago)1563↓50%MITPHPPHP &gt;=8.4.0

Since Mar 9Pushed 2mo agoCompare

[ Source](https://github.com/Hank-IT/KeePassPHP)[ Packagist](https://packagist.org/packages/hankit/keepassphp)[ Docs](https://github.com/Hank-IT/KeePassPHP)[ RSS](/packages/hankit-keepassphp/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (3)Versions (4)Used By (0)

KeePassPHP
==========

[](#keepassphp)

KeePassPHP is a PHP library for reading and writing KeePass `.kdbx` databases.

It can:

- inspect KDBX files without decrypting them
- open KeePass 2.x databases and map them to PHP objects
- read groups, entries, passwords, custom fields, and custom icons
- write new KDBX 4.1 databases from the in-memory `Database` model
- work with password keys, key files, and composite keys

It currently supports:

- KDBX 3.x
- KDBX 4.0 / 4.1 when the database uses:
    - outer cipher `AES-256`
    - KDF `AES-KDF`

It does not currently support:

- KDBX 4 databases using `Argon2d`
- KDBX 4 databases using `Argon2id`
- KDBX 4 databases using outer `ChaCha20`

Requirements
------------

[](#requirements)

- PHP `>= 8.4`
- `ext-hash`
- `ext-json`
- `ext-openssl`
- `ext-sodium`
- `ext-xmlreader`
- `ext-zlib`

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

[](#installation)

```
composer require hankit/keepassphp
```

Quick Start
-----------

[](#quick-start)

Open a KeePass database directly:

```
