{"adoption": {"forks": 144, "observed_at": "2026-08-28T04:05:53.114447+00:00", "stars": 1910}, "canonical_url": "https://ross.abutalabs.com/products/laravel-collection-macros", "card": {"archived": false, "artifact_type": "library", "description": "A set of useful Laravel collection macros", "domain": ["web-development", "developer-tools"], "enriched": true, "function": ["developer-tools"], "health_score": 78, "homepage": "https://freek.dev/540-some-handy-collection-macros", "language": "PHP", "license": "NOASSERTION", "license_family": "other", "maturity": "active", "member_repos": ["spatie/laravel-collection-macros"], "name": "spatie/laravel-collection-macros", "platform": ["php"], "pushed_at": "2026-02-20T20:46:35+00:00", "repo": "spatie/laravel-collection-macros", "stars": 1910, "tags": ["laravel", "collections", "macros", "spatie", "php-package"], "topics": ["laravel", "php", "collection", "macros", "hacktoberfest"], "urls": [], "use_cases": ["add extra methods to Laravel collections", "validate every item in a collection with a rule", "split a collection into a given number of groups", "debug collection contents with dd", "map and filter collections in one pass", "group collection items by Eloquent model"], "what_it_is": "A Spatie PHP package that adds a set of handy macros to Laravel's collection class, such as after, at, filterMap, validate, split, and dd. It installs via Composer and automatically registers itself with a Laravel application.", "when_to_avoid": ["you don't use the Laravel framework", "you only need one or two trivial helpers you can write yourself", "you need framework-agnostic collection utilities outside Laravel"], "when_to_choose": ["you use Laravel and repeatedly write the same collection helper logic", "you want well-tested, community-maintained collection extensions", "you want expressive collection operations like eachCons, extract, or fromPairs"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/laravel-collection-macros", "repo": "spatie/laravel-collection-macros", "role": "main", "score": 67}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:05:53.114447+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T03:11:04.763312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "236a16f3055d3e69d766b477f5bd18cee2d8e99b318dc6a91cca09acbe3c2fe2", "fetched_at": "2026-08-28T04:05:53.114447+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-collection-macros"}, {"content_hash": "34d9db93f62725c7730783c3f6e85dbfc13e72897eee5635833e4a9196222bb3", "fetched_at": "2026-08-29T10:50:00.972658+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/540-some-handy-collection-macros"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T10:50:00.981723+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:05:53.114447+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T03:11:04.763312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "236a16f3055d3e69d766b477f5bd18cee2d8e99b318dc6a91cca09acbe3c2fe2", "fetched_at": "2026-08-28T04:05:53.114447+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-collection-macros"}, {"content_hash": "34d9db93f62725c7730783c3f6e85dbfc13e72897eee5635833e4a9196222bb3", "fetched_at": "2026-08-29T10:50:00.972658+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/540-some-handy-collection-macros"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T10:50:00.981723+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T03:11:04.763312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "236a16f3055d3e69d766b477f5bd18cee2d8e99b318dc6a91cca09acbe3c2fe2", "fetched_at": "2026-08-28T04:05:53.114447+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-collection-macros"}, {"content_hash": "34d9db93f62725c7730783c3f6e85dbfc13e72897eee5635833e4a9196222bb3", "fetched_at": "2026-08-29T10:50:00.972658+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/540-some-handy-collection-macros"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T10:50:00.981723+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:05:53.114447+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:05:53.114447+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:05:53.114447+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T03:11:04.763312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "236a16f3055d3e69d766b477f5bd18cee2d8e99b318dc6a91cca09acbe3c2fe2", "fetched_at": "2026-08-28T04:05:53.114447+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-collection-macros"}, {"content_hash": "34d9db93f62725c7730783c3f6e85dbfc13e72897eee5635833e4a9196222bb3", "fetched_at": "2026-08-29T10:50:00.972658+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/540-some-handy-collection-macros"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T10:50:00.981723+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:05:53.114447+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:05:53.114447+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T03:11:04.763312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "236a16f3055d3e69d766b477f5bd18cee2d8e99b318dc6a91cca09acbe3c2fe2", "fetched_at": "2026-08-28T04:05:53.114447+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-collection-macros"}, {"content_hash": "34d9db93f62725c7730783c3f6e85dbfc13e72897eee5635833e4a9196222bb3", "fetched_at": "2026-08-29T10:50:00.972658+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/540-some-handy-collection-macros"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T10:50:00.981723+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:05:53.114447+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:05:53.114447+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:05:53.114447+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T03:11:04.763312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "236a16f3055d3e69d766b477f5bd18cee2d8e99b318dc6a91cca09acbe3c2fe2", "fetched_at": "2026-08-28T04:05:53.114447+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-collection-macros"}, {"content_hash": "34d9db93f62725c7730783c3f6e85dbfc13e72897eee5635833e4a9196222bb3", "fetched_at": "2026-08-29T10:50:00.972658+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/540-some-handy-collection-macros"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T10:50:00.981723+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:05:53.114447+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:05:53.114447+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T03:11:04.763312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "236a16f3055d3e69d766b477f5bd18cee2d8e99b318dc6a91cca09acbe3c2fe2", "fetched_at": "2026-08-28T04:05:53.114447+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-collection-macros"}, {"content_hash": "34d9db93f62725c7730783c3f6e85dbfc13e72897eee5635833e4a9196222bb3", "fetched_at": "2026-08-29T10:50:00.972658+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/540-some-handy-collection-macros"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T10:50:00.981723+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T03:11:04.763312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "236a16f3055d3e69d766b477f5bd18cee2d8e99b318dc6a91cca09acbe3c2fe2", "fetched_at": "2026-08-28T04:05:53.114447+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-collection-macros"}, {"content_hash": "34d9db93f62725c7730783c3f6e85dbfc13e72897eee5635833e4a9196222bb3", "fetched_at": "2026-08-29T10:50:00.972658+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/540-some-handy-collection-macros"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T10:50:00.981723+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T03:11:04.763312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "236a16f3055d3e69d766b477f5bd18cee2d8e99b318dc6a91cca09acbe3c2fe2", "fetched_at": "2026-08-28T04:05:53.114447+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-collection-macros"}, {"content_hash": "34d9db93f62725c7730783c3f6e85dbfc13e72897eee5635833e4a9196222bb3", "fetched_at": "2026-08-29T10:50:00.972658+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/540-some-handy-collection-macros"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T10:50:00.981723+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T03:11:04.763312+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "236a16f3055d3e69d766b477f5bd18cee2d8e99b318dc6a91cca09acbe3c2fe2", "fetched_at": "2026-08-28T04:05:53.114447+00:00", "kind": "readme", "missing": false, "url": "https://github.com/spatie/laravel-collection-macros"}, {"content_hash": "34d9db93f62725c7730783c3f6e85dbfc13e72897eee5635833e4a9196222bb3", "fetched_at": "2026-08-29T10:50:00.972658+00:00", "kind": "homepage", "missing": false, "url": "https://freek.dev/540-some-handy-collection-macros"}, {"content_hash": "e0ef9dccbb05c2ca499f33e17a37b8d295834eb41f7a6997f032841524bf0976", "fetched_at": "2026-08-29T10:50:00.981723+00:00", "kind": "site_page", "missing": false, "url": "https://freek.dev/about"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 68, "longevity": 100, "rhythm": 47}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3690, "days_push": 194, "days_rel": 194, "gap_med": 93.0, "n_releases_24m": 5}, "score": 67, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}