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
Requires
- php: >=8.1
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