PHPackages                             chrisrhymes/extra-collect - 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. chrisrhymes/extra-collect

ActiveLibrary

chrisrhymes/extra-collect
=========================

A Laravel package containing a collection of collections

v0.1(4y ago)36MITPHP

Since Feb 26Pushed 4y ago3 watchersCompare

[ Source](https://github.com/chrisrhymes/extra-collect)[ Packagist](https://packagist.org/packages/chrisrhymes/extra-collect)[ RSS](/packages/chrisrhymes-extra-collect/feed)WikiDiscussions master Synced 2d ago

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

Extra Collect
=============

[](#extra-collect)

Some extra Laravel collection methods.

```
composer require chrisrhymes/extra-collect
```

Contents
--------

[](#contents)

- [Collection Methods](#collection-methods)
    - [Prefix](#prefix)
    - [Suffix](#suffix)
    - [Double Quote](#double-quote)
- [Tests](#tests)

Collection Methods
------------------

[](#collection-methods)

### Prefix

[](#prefix)

```
collect(['a', 'b', 'c'])->prefix('test');

// ['testa', 'testb', 'testc']

collect([['name' => 'a'], ['name' => 'b'], ['name' => 'c']])->prefix('test', 'name');

// [['name' => 'testa'], ['name' => 'testb'], ['name' => 'testc']]
```

### Suffix

[](#suffix)

```
collect(['a', 'b', 'c'])->suffix('test');

// ['atest', 'btest', 'ctest']

collect([['name' => 'a'], ['name' => 'b'], ['name' => 'c']])->suffix('test', 'name');

// [['name' => 'atest'], ['name' => 'btest'], ['name' => 'ctest']]
```

### Double Quote

[](#double-quote)

```
collect(['a', 'b', 'c'])->doubleQuote();

// ['"a"', '"b"', '"c"']

collect([['name' => 'a'], ['name' => 'b'], ['name' => 'c']])->doubleQuote('name');

// [['name' => '"a"'], ['name' => '"b"'], ['name' => '"c"']]
```

Testing
-------

[](#testing)

```
composer test
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

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

1537d ago

### Community

Maintainers

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

---

Top Contributors

[![chrisrhymes](https://avatars.githubusercontent.com/u/4160546?v=4)](https://github.com/chrisrhymes "chrisrhymes (3 commits)")

---

Tags

laravellaravel-5-packagelaravel-collectionslaravel-package

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/chrisrhymes-extra-collect/health.svg)

```
[![Health](https://phpackages.com/badges/chrisrhymes-extra-collect/health.svg)](https://phpackages.com/packages/chrisrhymes-extra-collect)
```

PHPackages © 2026

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