PHPackages                             x/store - 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. x/store

ActiveLibrary

x/store
=======

v0.0.3(6y ago)030PHPPHP ^7.4CI failing

Since Jun 13Pushed 5y ago1 watchersCompare

[ Source](https://github.com/mink/store)[ Packagist](https://packagist.org/packages/x/store)[ RSS](/packages/x-store/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (3)Dependencies (4)Versions (4)Used By (0)

Store
=====

[](#store)

Store is an extension of Laravel's [Collection](https://laravel.com/docs/7.x/collections) that allows you to create and access your data however you like.

With Store, you can provide Collection's toolset to the entire scope of an existing set of data or create a new data set from the ground up, which you are able to get and assign items in both the context of a Collection object or an array.

When accessing data within a `StoreCollection`, this:

```
$user->name;
```

is the equivalent of:

```
$user['name'];
```

No matter how nested into the data structure you are, you will always have access to all of Collection's existing methods. You will also be able to access the upper hierarchy of the data by using the new `parent()` method.

```
$user->traits = ['frugal', 'kleptomaniac'];
$user->traits->first(); // 'frugal'
$user['traits']->parent(); // goes back up to $user
```

You can also use dot syntax in Collection's `get()` method as a shortcut to accessing nested items.

```
$config->site->settings->maintenance = true;
$config->get('site.settings.maintenance'); // bool(true)
```

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

[](#installation)

You can install Store using Composer.

Store requires PHP &gt;=7.4 and Laravel &gt;=7.0 if you are using Laravel.

```
composer require x/store

```

Anywhere you normally use a Collection instance you are able to use `StoreCollection` instead. you can also use the `store()` helper function to create an instance.

```
$array = ['testing' => 123];
$store = store($array); // or new X\Store\StoreCollection($array)
```

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Total

3

Last Release

2304d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13795700?v=4)[Zac Olden](/maintainers/mink)[@mink](https://github.com/mink)

---

Top Contributors

[![mink](https://avatars.githubusercontent.com/u/13795700?v=4)](https://github.com/mink "mink (40 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/x-store/health.svg)

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[illuminate/database

The Illuminate Database package.

2.8k54.1M11.2k](/packages/illuminate-database)[laravel/ai

The official AI SDK for Laravel.

1.0k2.1M163](/packages/laravel-ai)[moonshine/moonshine

Laravel administration panel

1.3k239.9k76](/packages/moonshine-moonshine)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

721160.4k12](/packages/tallstackui-tallstackui)[illuminate/pipeline

The Illuminate Pipeline package.

9348.3M267](/packages/illuminate-pipeline)

PHPackages © 2026

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