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 1mo 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 49% 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

3380d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e9999cd7ee8699265dc766730e946831ad2c12841ddf03f7cc28330a2716e432?d=identicon)[lucasoid](/maintainers/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

[scienta/doctrine-json-functions

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

58523.9M35](/packages/scienta-doctrine-json-functions)[aura/sqlquery

Object-oriented query builders for MySQL, Postgres, SQLite, and SQLServer; can be used with any database connection library.

4572.9M34](/packages/aura-sqlquery)[envms/fluentpdo

FluentPDO is a quick and light PHP library for rapid query building. It features a smart join builder, which automatically creates table joins.

925511.7k13](/packages/envms-fluentpdo)[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)[bvanhoekelen/performance

PHP performance tool analyser your script on time, memory usage and db query. Support Laravel and Composer for web, web console and command line interfaces.

521774.3k4](/packages/bvanhoekelen-performance)[tpetry/laravel-query-expressions

Database-independent Query Expressions as a replacement to DB::raw calls

357436.5k2](/packages/tpetry-laravel-query-expressions)

PHPackages © 2026

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