spatie/laravel-collection-macros
Adds a curated set of handy macros to Laravel Collections, extending them with extra helper methods (e.g., positional accessors like second/third, after, getNth, and more). Auto-registers via Composer for quick, drop-in productivity boosts.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/laravel-uptime-monitor | 0.89 | Configurable Laravel uptime monitor that checks site availability and SSL expiry. Sends alerts when a site goes down or recovers using Laravel notifications (Slack, mail, Telegram, or custom channels). Includes scheduling, history, and robust monitoring options. | 1,064 | 1,072 | 180 | 10K | 0 | 40.0 | 16.3 | MIT | 1 month ago | |
| spatie/laravel-medialibrary | 0.87 | Attach files to Eloquent models with an easy API. Upload from disk or request, store media across multiple filesystems (local/S3), and generate image/PDF conversions and manipulations using Laravel’s Filesystem. | 6,107 | 6,172 | 1,097 | 2M | 2 | 69.6 | 40.0 | MIT | 1 month ago | |
| spatie/laravel-tail | 0.87 | Tail your Laravel application logs from the command line. Run php artisan tail to follow local single or daily logs, or tail remote environment logs over SSH (e.g., production) with configurable host, user, log directory, and optional file selection. | 748 | 759 | 45 | 34K | 0 | 34.4 | 27.0 | MIT | 1 month ago | |
| spatie/laravel-fractal | 0.85 | Laravel/Lumen wrapper for League Fractal to transform API data with a fluent, expressive syntax. Supports collections, includes, facades, and helper shortcuts to easily shape Eloquent results into consistent JSON-ready arrays. | 1,911 | 1,932 | 187 | 277K | 0 | 44.5 | 35.2 | MIT | 1 month ago | |
| spatie/laravel-tags | 0.83 | Add flexible tagging to Laravel Eloquent models with the HasTags trait. Create, attach, detach, and query tags with ease, with built-in support for tag types, translations, and sorting—ideal for organizing content across your app. | 1,730 | 1,750 | 287 | 406K | 0 | 46.6 | 38.5 | MIT | 1 month ago | |
| spatie/macroable | 0.82 | Add methods to any class at runtime with Spatie’s Macroable trait. Register macros with closures or callables and call them like native methods; macros are bound to the class instance for access to $this. Inspired by Laravel’s Macroable implementation. | 726 | 734 | 26 | 1M | 0 | 25.9 | 53.6 | MIT | 2 months ago | |
| illuminate/macroable | 0.82 | Illuminate Macroable adds Laravel’s Macroable trait, letting you register custom methods (macros) on classes at runtime. Extend core components or your own objects without inheritance, enabling flexible, discoverable APIs and clean, centralized extension points. | 85 | 85 | 5 | 2M | 0 | 0.6 | 55.3 | MIT | — | |
| aimeos/macro | 0.81 | aimeos/macro is a lightweight PHP macro/extension library that lets you add methods at runtime and extend objects and classes without inheritance. Handy for creating fluent APIs, plugin-style features, and flexible customization in Laravel or any PHP project. | 2,345 | 2,333 | 1 | 3K | 0 | 11.8 | 5.3 | MIT | — | |
| illuminate/collections | 0.76 | Illuminate Collections provides a fluent, chainable API for working with arrays and iterables in PHP. Includes Collection and LazyCollection with powerful mapping, filtering, grouping, sorting, and higher-order operations, used widely across Laravel and standalone projects. | 271 | 290 | 48 | 2M | 0 | 2.8 | 53.4 | MIT | — | |
| tightenco/collect | 0.75 | A standalone port of Laravel’s Illuminate\Support\Collection for non-Laravel projects. Get expressive, chainable, higher-order methods like map, filter, reduce, pluck, groupBy, and more with minimal dependencies—ideal for any PHP app. | 1,500 | 1,541 | 112 | 121K | 3 | 20.4 | 32.4 | — | 2 years ago | |
| team-reflex/discord-php | 0.73 | DiscordPHP is a PHP wrapper for Discord’s REST, Gateway, and Voice APIs. Build Discord bots and integrations in CLI using an event-driven approach (ReactPHP). Includes guides and class reference; community Laravel integration available via Laracord. | 1,066 | 1,067 | 252 | 13K | 6 | 47.6 | 23.4 | MIT | 2 days ago | |
| phootwork/collection | 0.72 | phootwork/collection is a lightweight PHP collection library providing convenient data structures and fluent helpers to work with arrays and iterables. Includes common operations like map/filter/reduce, searching, sorting, and easy conversion between collection types. | 39 | 40 | 4 | 980K | 0 | 28.1 | 65.0 | MIT | 1 year ago | |
| joomla/utilities | 0.70 | Joomla Utilities provides lightweight helper classes for common tasks, including ArrayHelper methods to cast arrays to integers, convert arrays to objects/strings, and extract arrays from objects—handy utilities for PHP apps and Joomla Framework projects. | 3 | 4 | 11 | 20K | 1 | 21.9 | 60.0 | GPL-2.0 | 8 months ago |
How can I help you explore Laravel packages today?