PHPackages                             lbacik/object-collection - 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. lbacik/object-collection

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

lbacik/object-collection
========================

Object collection based on SPL ArrayObject class

v0.1(3y ago)0211LGPL-2.0-or-laterPHP

Since Sep 28Pushed 3y ago1 watchersCompare

[ Source](https://github.com/lbacik/object-collection)[ Packagist](https://packagist.org/packages/lbacik/object-collection)[ RSS](/packages/lbacik-object-collection/feed)WikiDiscussions main Synced today

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

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

[](#installation)

Install with composer:

```
composer require lbacik/object-collection

```

Example
-------

[](#example)

### Declaration

[](#declaration)

```
use App\MyObject;
use Sushi\ObjectCollection

class MyObjectCollection extends ObjectCollection
{
    static string $type = MyObject::class;
}
```

### Usage

[](#usage)

```
$myCollection = new MyObjectCollection([
    new MyObject('foo'),
    new MyObject('bar'),
]);
```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

1373d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/95a0d1fe8d35f2fd34fed52a5bfed0701f2ab04a3073b3bcfcd18c57c845bbfb?d=identicon)[lbacik](/maintainers/lbacik)

---

Top Contributors

[![lbacik](https://avatars.githubusercontent.com/u/7950189?v=4)](https://github.com/lbacik "lbacik (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lbacik-object-collection/health.svg)

```
[![Health](https://phpackages.com/badges/lbacik-object-collection/health.svg)](https://phpackages.com/packages/lbacik-object-collection)
```

###  Alternatives

[doublesecretagency/craft-inventory

Take stock of your field usage.

70126.5k1](/packages/doublesecretagency-craft-inventory)[pinoox/numera

Translate Numera

1818.1k1](/packages/pinoox-numera)

PHPackages © 2026

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