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 today

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 47% 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

3432d 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.2k295.3M7.2k](/packages/doctrine-orm)[doctrine/migrations

PHP Doctrine Migrations project offer additional functionality on top of the database abstraction layer (DBAL) for versioning your database schema and easily deploying changes to it. It is a very easy to use and a powerful tool.

4.8k212.9M508](/packages/doctrine-migrations)[scienta/doctrine-json-functions

A set of extensions to Doctrine that add support for json query functions.

58825.2M48](/packages/scienta-doctrine-json-functions)[renoki-co/l1

Laravel integration for Cloudflare Workers services.

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

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

1184.5k2](/packages/bartlett-php-compatinfo-db)[sarfraznawaz2005/indexer

Laravel package to monitor SELECT queries and offer best possible INDEX fields.

562.7k](/packages/sarfraznawaz2005-indexer)

PHPackages © 2026

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