An open API service indexing awesome lists of open source software.

https://github.com/xp-forge/keepass

KeePass databases
https://github.com/xp-forge/keepass

keepass-database php xp-framework

Last synced: about 1 month ago
JSON representation

KeePass databases

Awesome Lists containing this project

README

        

KeePass databases
=================

[![Build status on GitHub](https://github.com/xp-forge/keepass/workflows/Tests/badge.svg)](https://github.com/xp-forge/keepass/actions)
[![XP Framework Module](https://raw.githubusercontent.com/xp-framework/web/master/static/xp-framework-badge.png)](https://github.com/xp-framework/core)
[![BSD Licence](https://raw.githubusercontent.com/xp-framework/web/master/static/licence-bsd.png)](https://github.com/xp-framework/core/blob/master/LICENCE.md)
[![Requires PHP 7.0+](https://raw.githubusercontent.com/xp-framework/web/master/static/php-7_0plus.svg)](http://php.net/)
[![Supports PHP 8.0+](https://raw.githubusercontent.com/xp-framework/web/master/static/php-8_0plus.svg)](http://php.net/)
[![Latest Stable Version](https://poser.pugx.org/xp-forge/keepass/version.png)](https://packagist.org/packages/xp-forge/keepass)

Read access to KeePass database files.

Example
-------

```php
use info\keepass\{KeePassDatabase, Key};
use io\streams\FileInputStream;
use util\cmd\Console;

$db= KeePassDatabase::open(new FileInputStream('database.kdbx'), new Key('passphrase'));
Console::writeLine($db);

// Show top-level groups and password entries inside these
foreach ($db->groups() as $group) {
foreach ($group->passwords() as $name => $password) {
Console::writeLine($name, ': ', $password);
}
}
$db->close();
```

See also
--------
http://keepass.info/