Registry / utility / tightenco-collect

tightenco-collect

JSON →
library9.52.7phppackagistunverified

Collect - Illuminate Collections as a separate package.

composer require tightenco/collect
INSTALL
IMPORT
SIG · TIGHTENCO-COLLECT
T
tightenco-collect
utilityphpv9.52.7
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Collection
use Tightenco\Collect\Support\Collection;

Create a collection and sum values

use Tightenco\Collect\Support\Collection; $collection = new Collection([1, 2, 3]); echo $collection->sum();
Debug
Known issues
gotchaNot compatible with Laravel's native Collection class if both are loaded
fix
Use only one Collection implementation in your project
affects: *
Upgrade
Version history
9.52.7latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
tightenco-collect — pip install tightenco-collect · libregistry