PHPackages                             linuxstreet/laravel-registry - 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. linuxstreet/laravel-registry

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

linuxstreet/laravel-registry
============================

Registry package provides a convenient way to manage and use simple key/value pairs (with pre-defined types) by using Laravel's under-laying config() functionality.

1.1(7y ago)214MITPHP

Since Oct 24Pushed 7y ago1 watchersCompare

[ Source](https://github.com/linuxstreet/laravel-registry)[ Packagist](https://packagist.org/packages/linuxstreet/laravel-registry)[ Docs](https://github.com/linuxstreet/laravel-registry)[ RSS](/packages/linuxstreet-laravel-registry/feed)WikiDiscussions master Synced 2mo ago

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

Registry for Laravel
====================

[](#registry-for-laravel)

[![Latest Stable Version](https://camo.githubusercontent.com/a4a8f8c3deeee82dd2befc2ab283d0d4295c2d790ef99c92d22be9d6630add3c/68747470733a2f2f706f7365722e707567782e6f72672f6c696e75787374726565742f6c61726176656c2d72656769737472792f762f737461626c65)](https://packagist.org/packages/linuxstreet/laravel-registry)[![License](https://camo.githubusercontent.com/c0ac104727072cffb66e4544e2f97d1908e1ea789a2c964af46c76fe4defb816/68747470733a2f2f706f7365722e707567782e6f72672f6c696e75787374726565742f6c61726176656c2d72656769737472792f6c6963656e7365)](https://packagist.org/packages/linuxstreet/laravel-registry)[![Total Downloads](https://camo.githubusercontent.com/a404bc2821bce98a063ec35dd56b4db83b91c089de52a805144e72dd9913d683/68747470733a2f2f706f7365722e707567782e6f72672f6c696e75787374726565742f6c61726176656c2d72656769737472792f646f776e6c6f616473)](https://packagist.org/packages/linuxstreet/laravel-registry)[![StyleCI](https://camo.githubusercontent.com/75648406c0ec9f32198b3de6398ddada4b0a7b3e37706ed8a7cb239a1adbb315/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3135323634323230362f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/152642206)

Registry package provides a convenient way to manage and use simple key/value pairs (with pre-defined types) by using Laravel's under-laying config() functionality.

When application boots, registry entries are saved into Laravel's config so no registry calls will hit the database beyond that point.

The main difference is that keys/values are saved in database and there is no need to manually edit config files.

Take a look at [contributing.md](contributing.md) to see a to do list.

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

[](#installation)

> **Requires:**

- **[PHP 7.0+](https://php.net/releases/)**
- **[Laravel 5.5+](https://github.com/laravel/laravel)**

Via Composer:

```
$ composer require linuxstreet/laravel-registry
```

Migrate your database:

```
$ php artisan migrate
```

If you're using Laravel 5.5 you'll need to add the service provider to your config/app.php

```
'Linuxstreet\Registry\RegistryServiceProvider::class'
```

Configuration
-------------

[](#configuration)

You can publish config and view files using the artisan command:

```
$ php artisan vendor:publish --provider="Linuxstreet\Registry\RegistryServiceProvider"
```

Usage
-----

[](#usage)

Check the 'config/registry.php' config file and make necessary changes if needed.

You can add/edit registry entries by using web provided web forms.

Start your web server:

```
$ php artisan serve
```

Go to:

Note: You can customize admin path by changing 'route\_prefix' and/or 'path' options in 'config/registry.php'

> **Console helpers**

- List registry key/values as stored in database:

```
$ php artisan registry:list
```

- List registry config keys with their real php values:

```
$ php artisan registry:config
```

- Flush all registry items (will permanently delete registry entries from database):

```
$ php artisan registry:flush
```

> **Using registry items in your code**

You can access registry entries by using provided registry() helper:

```
registry('key', 'default');
```

or using Registry facade:

```
Registry::get('key', 'default');
```

or using Laravel config() helper:

```
config('registry.key', 'default');
```

Change log
----------

[](#change-log)

Please see the [changelog](changelog.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ phpunit
```

Contributing
------------

[](#contributing)

Please see [contributing.md](contributing.md) for details and a todolist.

Security
--------

[](#security)

If you discover any security related issues, please email author email instead of using the issue tracker.

Credits
-------

[](#credits)

- Igor Jovanovic

License
-------

[](#license)

Please see the [license file](license.md) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

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 ~0 days

Total

2

Last Release

2754d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/91e22eae0e8808da9380a3202ccbdeee60392f2d5745aff616cfb3a8d2a8d835?d=identicon)[linuxstreet](/maintainers/linuxstreet)

---

Top Contributors

[![linuxstreet](https://avatars.githubusercontent.com/u/8939753?v=4)](https://github.com/linuxstreet "linuxstreet (24 commits)")

---

Tags

laravelregistry

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/linuxstreet-laravel-registry/health.svg)

```
[![Health](https://phpackages.com/badges/linuxstreet-laravel-registry/health.svg)](https://phpackages.com/packages/linuxstreet-laravel-registry)
```

###  Alternatives

[barryvdh/laravel-ide-helper

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

14.9k123.0M683](/packages/barryvdh-laravel-ide-helper)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)[torann/registry

Laravel registry manager for application configurations

222.0k](/packages/torann-registry)[nedwors/navigator

A Laravel package to ease defining navigation menus

433.1k](/packages/nedwors-navigator)[xefi/faker-php-laravel

Faker php integration with laravel

1915.1k](/packages/xefi-faker-php-laravel)[dcblogdev/laravel-junie

Install pre-configured guides for Jetbrains Junie

392.5k](/packages/dcblogdev-laravel-junie)

PHPackages © 2026

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