PHPackages                             lucasoid/keyhole - 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. [Database &amp; ORM](/categories/database)
4. /
5. lucasoid/keyhole

ActiveLibrary[Database &amp; ORM](/categories/database)

lucasoid/keyhole
================

API for dynamic user-facing database table creation and querying

1.1(9y ago)030MITPHP

Since Nov 24Pushed 9y ago1 watchersCompare

[ Source](https://github.com/lucasoid/keyhole)[ Packagist](https://packagist.org/packages/lucasoid/keyhole)[ Docs](https://github.com/lucasoid/keyhole)[ RSS](/packages/lucasoid-keyhole/feed)WikiDiscussions master Synced 2w ago

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

Keyhole
=======

[](#keyhole)

An implementation of Doctrine DBAL designed to simplify user-managed database tables
------------------------------------------------------------------------------------

[](#an-implementation-of-doctrine-dbal-designed-to-simplify-user-managed-database-tables)

### What do we have here?

[](#what-do-we-have-here)

Keyhole is an interface to allow users to create database tables and entries. What you, and they, do with that is TBD.

- Build a registry of tables and columns.
- Define access rules.
- Dynamically create or update tables that have been registered.
- Save, delete, and retrieve data from the created tables.

### Install:

[](#install)

`composer require lucasoid/keyhole`

### Get started:

[](#get-started)

See  for a sample implementation.

###  Health Score

27

—

LowBetter than 46% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

Established project with proven stability

 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

Every ~72 days

Total

2

Last Release

3477d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13427184?v=4)[Ben Lucas](/maintainers/lucasoid)[@lucasoid](https://github.com/lucasoid)

---

Top Contributors

[![lucasoid](https://avatars.githubusercontent.com/u/13427184?v=4)](https://github.com/lucasoid "lucasoid (3 commits)")

---

Tags

databasequerydynamic

### Embed Badge

![Health badge](/badges/lucasoid-keyhole/health.svg)

```
[![Health](https://phpackages.com/badges/lucasoid-keyhole/health.svg)](https://phpackages.com/packages/lucasoid-keyhole)
```

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k305.9M8.0k](/packages/doctrine-orm)[doctrine/doctrine-bundle

Symfony DoctrineBundle

4.8k259.1M4.4k](/packages/doctrine-doctrine-bundle)[leantime/leantime

Open source project management system for non-project managers. Simple like Trello, powerful like Jira. Built with neurodiversity in mind.

11.3k4.0k](/packages/leantime-leantime)[flow-php/doctrine-dbal-bulk

Bulk inserts and updates for Doctrine DBAL

14404.6k5](/packages/flow-php-doctrine-dbal-bulk)[renoki-co/l1

Laravel integration for Cloudflare Workers services.

16325.0k](/packages/renoki-co-l1)[bartlett/php-compatinfo-db

Reference Database of all functions, constants, classes, interfaces on PHP standard distribution and about 110 extensions

1186.7k2](/packages/bartlett-php-compatinfo-db)

PHPackages © 2026

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