PHPackages                             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. [Utility &amp; Helpers](/categories/utility)
4. /
5. delatbabel/keylists

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

delatbabel/keylists
===================

Laravel key/value lists package.

v1.5.4(9y ago)174411MITPHPPHP &gt;=5.4.0

Since Dec 14Pushed 9y ago3 watchersCompare

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

READMEChangelogDependencies (3)Versions (25)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

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity68

Established project with proven stability

 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

Every ~17 days

Recently: every ~91 days

Total

23

Last Release

3485d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d3bb12da0a07ef99daa73f6e75e84bc3e2e9f90a3523ab428e54deb38643876a?d=identicon)[delatbabel](/maintainers/delatbabel)

---

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/delatbabel-keylists/health.svg)

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

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

23.8k69.4k](/packages/grumpydictator-firefly-iii)[statamic/cms

The Statamic CMS Core Package

4.8k3.5M923](/packages/statamic-cms)[backpack/crud

Quickly build admin interfaces using Laravel, Bootstrap and JavaScript.

3.4k3.6M217](/packages/backpack-crud)[unopim/unopim

UnoPim Laravel PIM

10.5k2.2k](/packages/unopim-unopim)[backpack/basset

Dead-simple way to load CSS or JS assets only once per page, when using Laravel 10+.

207923.1k10](/packages/backpack-basset)[firefly-iii/data-importer

Firefly III Data Import Tool.

8005.8k](/packages/firefly-iii-data-importer)

PHPackages © 2026

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