PHPackages                             crea-mukai/laravel-list-value - 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. crea-mukai/laravel-list-value

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

crea-mukai/laravel-list-value
=============================

laravel Array value service

1.0.1(6y ago)010MITPHPPHP ^7.1CI failing

Since Nov 26Pushed 6y ago1 watchersCompare

[ Source](https://github.com/crea-mukai/laravel-list-value)[ Packagist](https://packagist.org/packages/crea-mukai/laravel-list-value)[ RSS](/packages/crea-mukai-laravel-list-value/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (3)Used By (0)

laravel-list-value
==================

[](#laravel-list-value)

laravel 5.5

Library for manipulating arrays in Laravel

Setting
-------

[](#setting)

1. composer install.
2. php artisan vendor:publish
3. config/app.php edit.

```
'providers' => [
    .
    .
    CreaMukai\LaravelListValue\Providers\ListValueServiceProvider::class
];

'aliases' => [
    .
    .
    'ListValueService' => CreaMukai\LaravelListValue\Facades\ListValueFacade::class
];

```

How to use
----------

[](#how-to-use)

```
\ListValueService::list('gender')

array:2 [▼
  1 => "male"
  2 => "female"
]

```

```
\ListValueService::valueFromKey('foo.moga', 'key3')

"value3"

```

Make array values
-----------------

[](#make-array-values)

1. copy App\\Model\\ListValue\\Foo to
2. Foo::LIST\_VALUES change

```

App\Model\ListValue\Foo
=> \ListValueService::list('foo')

App\Model\ListValue\Example\Model
=> \ListValueService::list('example.model')

```

Methods
-------

[](#methods)

MethodContent\\ListValueService::list($name)Get list value.\\ListValueService::flipList($name)Get value =&gt; key list.\\ListValueService::keys($name)Get keys array.\\ListValueService::valueFromKey($name, $key)Exchange key to value.\\ListValueService::keyFromValue($name, $value)Exchange value to key.\\ListValueService::firstKey($name)Get first key.\\ListValueService::lastKey($name)Get last key.\\ListValueService::firstValue($name)Get first value.\\ListValueService::lastValue($name)Get last value.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 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

2360d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/44634082?v=4)[crea-mukai](/maintainers/crea-mukai)[@crea-mukai](https://github.com/crea-mukai)

---

Top Contributors

[![crea-mukai](https://avatars.githubusercontent.com/u/44634082?v=4)](https://github.com/crea-mukai "crea-mukai (7 commits)")

### Embed Badge

![Health badge](/badges/crea-mukai-laravel-list-value/health.svg)

```
[![Health](https://phpackages.com/badges/crea-mukai-laravel-list-value/health.svg)](https://phpackages.com/packages/crea-mukai-laravel-list-value)
```

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4195.3M84](/packages/livewire-volt)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)

PHPackages © 2026

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