noctud / collection
Public🗺️ Type-safe, mutable/immutable and key-preserving PHP 8.4+ collections
Noctud Collection provides type-safe, immutable and mutable lists, sets, and maps for PHP with expressive operations like filtering, mapping, sorting, and grouping, inspired by Kotlin.
How It Works
You're working on a project and tired of messy lists turning into headaches, so you find Noctud Collection that promises clean, reliable ways to group and sort your information.
With a quick addition, the collection tools join your work, ready to handle lists, unique groups, and key-value pairs just like magic boxes for your data.
You create a list or map that knows exactly what kind of items it holds, feeling safe and powerful as it sorts, filters, and transforms effortlessly.
Choose unchangeable versions to keep data safe or flexible ones to tweak as needed, making your work both secure and adaptable.
Filter out junk, group similar items, or sort everything perfectly with simple instructions that feel natural and fast.
Your project runs smoother with reliable groups that prevent mistakes and perform great, letting you focus on creating instead of fixing.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.