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

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

samluvanda/collection
=====================

A fluent, chainable Collection class for PHP inspired by Laravel, JavaScript, and C#.

v1.0.0(11mo ago)12MITPHPPHP &gt;=8.1

Since Jun 7Pushed 11mo agoCompare

[ Source](https://github.com/samluvanda/collection)[ Packagist](https://packagist.org/packages/samluvanda/collection)[ RSS](/packages/samluvanda-collection/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

📦 Collection
============

[](#-collection)

A fluent, chainable, and extensible Collection class for PHP — inspired by Laravel Collections, JavaScript arrays, and C# LINQ.

---

🚀 Installation
--------------

[](#-installation)

```
composer require samluvanda/collection
```

---

✨ Features
----------

[](#-features)

- Dot notation access (`get('user.profile.name')`)
- Array and object support
- Immutable and chainable methods
- Functional utilities: `map`, `filter`, `reduce`, `pluck`, etc.

---

📚 Documentation
---------------

[](#-documentation)

- 📖 [Full API Reference](docs/METHODS.md)
- 🧑‍💻 [How to Contribute](CONTRIBUTING.md)

---

❤️ Sponsor this Project
-----------------------

[](#️-sponsor-this-project)

Support continued development and maintenance by becoming a sponsor:
👉

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance51

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

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

345d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/21f70e519f4d450d74d23e253398b78b1541a896c8e0a2f8215dc7b48f8facc3?d=identicon)[samluvanda](/maintainers/samluvanda)

### Embed Badge

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

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

###  Alternatives

[zertex/avatar-generator

Avatar generator by username, file or url.

104.5k1](/packages/zertex-avatar-generator)

PHPackages © 2026

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