PHPackages                             redrat/cuddly - 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. redrat/cuddly

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

redrat/cuddly
=============

Collections and Bags with super powers

0.1.0(5y ago)331[2 issues](https://github.com/joubertredrat/Cuddly/issues)[1 PRs](https://github.com/joubertredrat/Cuddly/pulls)MITPHPPHP &gt;=7.3CI failing

Since Aug 20Pushed 5y agoCompare

[ Source](https://github.com/joubertredrat/Cuddly)[ Packagist](https://packagist.org/packages/redrat/cuddly)[ RSS](/packages/redrat-cuddly/feed)WikiDiscussions master Synced 5d ago

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

Cuddly
======

[](#cuddly)

[![Build Status](https://camo.githubusercontent.com/4b453207b00045aa9c32eaa6e26f6fb414b5030c8acd9a31bcb278e8d1adcd4b/68747470733a2f2f7472617669732d63692e6f72672f6a6f75626572747265647261742f437564646c792e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/joubertredrat/Cuddly)[![Maintainability](https://camo.githubusercontent.com/d674c1a5108af5d97f04e1808369bf090ef5f723a4a1978dd01004e6ccc04ff3/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f38366636353134346365316566323765386532342f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/joubertredrat/Cuddly/maintainability)[![Test Coverage](https://camo.githubusercontent.com/ad9cdb163f43153daca3cee6f7ac3c84fd729dd3d11ae068bd7493c1c953161f/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f38366636353134346365316566323765386532342f746573745f636f766572616765)](https://codeclimate.com/github/joubertredrat/Cuddly/test_coverage)[![codecov](https://camo.githubusercontent.com/5ca92555f55668d3f50bcfeee7a3b58e98a663bd248ad1d5b10708ae2dbd49d4/68747470733a2f2f636f6465636f762e696f2f67682f6a6f75626572747265647261742f437564646c792f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/joubertredrat/Cuddly)[![Latest Stable Version](https://camo.githubusercontent.com/5e41462e7b3170c695baec12139838224615a26039ee5eab25e0f7af4ec259d7/68747470733a2f2f706f7365722e707567782e6f72672f7265647261742f637564646c792f76)](https://packagist.org/packages/redrat/cuddly)[![Total Downloads](https://camo.githubusercontent.com/c4ee6852097220ccb2825ee08d45cd03114041fc5a570ab332d5e70ce198cbb7/68747470733a2f2f706f7365722e707567782e6f72672f7265647261742f637564646c792f646f776e6c6f616473)](https://packagist.org/packages/redrat/cuddly)[![License](https://camo.githubusercontent.com/ef1ab0b9ae426e0648044d8aba8d696ab758ff7ab6f15ed5c74209c283c30174/68747470733a2f2f706f7365722e707567782e6f72672f7265647261742f637564646c792f6c6963656e7365)](https://packagist.org/packages/redrat/cuddly)

Cuddly is an easy way to provide open or fixed collections for general, scalar or object hinted purposes. Inspired in arrays and slices in golang.

### Installation

[](#installation)

```
composer require redrat/cuddly
```

### Usage

[](#usage)

See usage and other documentation in [usage.md](usage.md).

### Author

[](#author)

[![Joubert RedRat](https://camo.githubusercontent.com/ba40324658b49f36c2334a5b3afa014d4dda13bc4ccf08db64d5b3f82a16dfc3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4a6f75626572742d5265645261742d726564)](https://joubertredrat.github.io)[![and the contributors](https://camo.githubusercontent.com/5021bd8855cfcc768cd2ffc663a7e1a36138ac6b098b05ee746c45bf6dd5d034/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f616e642532307468652d636f6e7472696275746f72732d73756363657373)](https://github.com/joubertredrat/Cuddly/graphs/contributors)

### License

[](#license)

The cute and amazing [MIT](https://github.com/joubertredrat/Cuddly/blob/master/LICENSE).

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance7

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

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

2095d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/aeafef5f5ed36b3ecaafb5259a8873ea97d65f2db72694dd59088e9dfcfcb1d5?d=identicon)[joubertredrat](/maintainers/joubertredrat)

---

Top Contributors

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

---

Tags

bagcollectionsphp-libphp-libraryphp7php73php74

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/redrat-cuddly/health.svg)

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

PHPackages © 2026

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