alphavel / support
Support utilities for Alphavel Framework
v1.0.0
2025-11-26 15:47 UTC
Requires
- php: >=8.4
- alphavel/alphavel: ^1.0
README
Helper functions and collections
✨ Features
- 📦 Collections - 40+ methods for data manipulation
- 🛠️ Helper functions - Utility functions
- 🎯 Laravel-compatible - Familiar API
- 🚀 Fast - Minimal overhead
📦 Installation
composer require alphavel/support
🚀 Quick Start
use function collect; $collection = collect([1, 2, 3, 4, 5]); $result = collect($users) ->where('active', true) ->sortBy('name') ->pluck('email') ->unique() ->toArray(); // Available methods: // map, filter, reduce, sum, avg, max, min, count, chunk, // groupBy, sortBy, pluck, where, first, last, random, etc.
📚 Documentation
Full documentation: https://github.com/alphavel/documentation/blob/master/packages/support/README.md
📄 License
MIT License