samluvanda/collection

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

Installs: 2

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/samluvanda/collection

v1.0.0 2025-06-07 19:28 UTC

This package is auto-updated.

Last update: 2025-12-11 06:19:29 UTC


README

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

🚀 Installation

composer require samluvanda/collection

✨ Features

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

📚 Documentation

❤️ Sponsor this Project

Support continued development and maintenance by becoming a sponsor:
👉 https://github.com/sponsors/samluvanda