macroable
A trait to dynamically add methods to a class (by spatie)
laravel-collection-macros
A set of useful Laravel collection macros (by spatie)
macroable | laravel-collection-macros | |
---|---|---|
2 | 3 | |
675 | 1,696 | |
1.6% | 0.9% | |
2.1 | 5.1 | |
16 days ago | 9 days ago | |
PHP | PHP | |
MIT License | GNU General Public License v3.0 or later |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
macroable
Posts with mentions or reviews of macroable.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-08.
-
PHP Macro - Dynamically extend PHP objects
What's the difference with https://github.com/spatie/macroable ?
-
[RFC] Deprecate dynamic properties has passed!
It makes it harder to extend classes without using inheritance and DI. For example any macros you add with https://github.com/spatie/macroable now can't save any data to the class you are extending, which was useful under some circumstances. The only workaround I can think of would involve some horrible hack involving globals and spl_object_hash.
laravel-collection-macros
Posts with mentions or reviews of laravel-collection-macros.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-24.
-
Spatie Open Source denies any PRs that doesn't benefit their own applications?
https://github.com/spatie/laravel-collection-macros/pull/166 (Thank you, but I'm going to pass for now. We only add macro's that we use ourselves.)
-
Supercharge your Laravel 8 Collections
I recently came across an amazing package: spatie/laravel-collection-macros.
What are some alternatives?
When comparing macroable and laravel-collection-macros you can also consider the following projects:
Laravel-Zero - A PHP framework for console artisans
psl - 📚 PHP Standard Library - a modern, consistent, centralized, well-typed, non-blocking set of APIs for PHP programmers
PHPT - The PHP Interpreter
Laravel - Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation for your next big idea — freeing you to create without sweating the small things.
Rector - Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
figlet-fonts - my collection of figlet / toilet ascii art fonts
macro - Customize code using closures
Knapsack - Collection pipeline library for PHP
Arrayy - 🗃 Array manipulation library for PHP, called Arrayy!
map - PHP arrays and collections made easy
macroable vs Laravel-Zero
laravel-collection-macros vs psl
macroable vs PHPT
laravel-collection-macros vs Laravel
macroable vs Rector
laravel-collection-macros vs figlet-fonts
macroable vs macro
laravel-collection-macros vs Knapsack
laravel-collection-macros vs Arrayy
laravel-collection-macros vs map