PHPackages                             ngoubaux/delatbabel-keylists - 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. ngoubaux/delatbabel-keylists

ActiveLibrary

ngoubaux/delatbabel-keylists
============================

Laravel key/value lists package.

v11.0(1y ago)071MITPHPPHP ^8.0

Since Oct 30Pushed 1y agoCompare

[ Source](https://github.com/ngoubaux/delatbabel-keylists)[ Packagist](https://packagist.org/packages/ngoubaux/delatbabel-keylists)[ RSS](/packages/ngoubaux-delatbabel-keylists/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (2)Used By (1)

keylists
========

[](#keylists)

Yeah yeah, you know the drill. Your application needs to have all of these key/value tables. A list of states of the USA. A list of currencies. A table for timezones. A table for staff rotation types. A table for the names of the seven dwarfs (NAME THEM! NOW! QUICK!) (\*). A key/value list for each of the 101 dropdowns that you have on the far-too-many forms on your site.

Keylists is a set of database tables and model classes to handle key/value lists in an application in a standard way

So you can now store all of these key/value lists into a single set of tables and cache the whole lot and never have to panic about where to store these things ever again.

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

[](#installation)

Add these lines to your composer.json file:

```
    "require": {
        "delatbabel/keylists": "~1.0"
    },

```

Once that is done, run the composer update command:

```
    composer update

```

Alternatively just run this:

```
    composer require delatbabel/keylists

```

### Register Service Provider

[](#register-service-provider)

After composer update completes, add this line to your config/app.php file in the 'providers' array:

```
    Delatbabel\Keylists\KeylistsServiceProvider::class,

```

### Incorporate and Run the Migrations

[](#incorporate-and-run-the-migrations)

Finally, incorporate and run the migration scripts to create the database tables as follows:

```
php artisan vendor:publish --tag=migrations --force
php artisan migrate
```

Sample Data
-----------

[](#sample-data)

To load some of the sample data, try adding this line to the $commands array in your app/Console/Kernel.php file:

```
    \Delatbabel\Keylists\Console\Commands\LoadISO3166Countries::class

```

Then run this command:

```
    php artisan keylists:loadiso3166countries

```

This should create entries in the keylists / keyvalues table for the ISO 3166 country codes and names.

Example
-------

[](#example)

I'll get to that. Quit bugging me, K? Just go read the code.

Notes
-----

[](#notes)

(\*) Happy, Dumpy, Sleepy, Gropey ... umm, hang on, was Gropey one of them?? ... Flopsy, Mopsy and Cottontail.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 81.4% 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

Unknown

Total

1

Last Release

559d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3c18315a6809d3940f1277ddebaf7e1931553b5aacb67be0a2d0a3306962bbc1?d=identicon)[ngoubaux](/maintainers/ngoubaux)

---

Top Contributors

[![delatbabel](https://avatars.githubusercontent.com/u/2335362?v=4)](https://github.com/delatbabel "delatbabel (35 commits)")[![haidangibm](https://avatars.githubusercontent.com/u/6229550?v=4)](https://github.com/haidangibm "haidangibm (8 commits)")

---

Tags

laravelkeyvaluekeyvaluekeylists

### Embed Badge

![Health badge](/badges/ngoubaux-delatbabel-keylists/health.svg)

```
[![Health](https://phpackages.com/badges/ngoubaux-delatbabel-keylists/health.svg)](https://phpackages.com/packages/ngoubaux-delatbabel-keylists)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[fumeapp/modeltyper

Generate TypeScript interfaces from Laravel Models

196277.9k](/packages/fumeapp-modeltyper)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)

PHPackages © 2026

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