PHPackages                             mammut-alex/laravel-collection-thanos - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. mammut-alex/laravel-collection-thanos

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mammut-alex/laravel-collection-thanos
=====================================

A set of thanos Laravel collection macros

v1.1.1(6y ago)1363MITPHPPHP &gt;=7.1

Since Aug 3Pushed 6y ago1 watchersCompare

[ Source](https://github.com/MammutAlex/laravel-collection-thanos)[ Packagist](https://packagist.org/packages/mammut-alex/laravel-collection-thanos)[ Docs](https://github.com/MammutAlex/laravel-collection-thanos)[ RSS](/packages/mammut-alex-laravel-collection-thanos/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (3)Dependencies (2)Versions (5)Used By (0)

[![](https://user-images.githubusercontent.com/10599196/62409693-d8bd5080-b5e3-11e9-917c-62fadc44652a.png)](https://user-images.githubusercontent.com/10599196/62409693-d8bd5080-b5e3-11e9-917c-62fadc44652a.png)

[![Build Status](https://camo.githubusercontent.com/28aa648c1c098789c31f757088e352d1a8256902b323f809bcccf381e7b6a072/68747470733a2f2f7472617669732d63692e6f72672f4d616d6d7574416c65782f6c61726176656c2d636f6c6c656374696f6e2d7468616e6f732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/MammutAlex/laravel-collection-thanos)[![Code Climate](https://camo.githubusercontent.com/794e35ecd1b7fb8176dc8213703a24817291abf62b2f0b89a3ac7872d72d359d/68747470733a2f2f6c696d612e636f6465636c696d6174652e636f6d2f6769746875622f4d616d6d7574416c65782f6c61726176656c2d636f6c6c656374696f6e2d7468616e6f732f6261646765732f6770612e737667)](https://lima.codeclimate.com/github/MammutAlex/laravel-collection-thanos)[![StyleCI](https://camo.githubusercontent.com/3073a24f79b04a992cf70b4ce36d0b1c1ad6a42029e1b4b0debfcb96b85f0f40/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3230303333393331332f736869656c643f6272616e63683d6d6173746572)](https://styleci.io/repos/200339313)

Installation
------------

[](#installation)

Require this package in your `composer.json` and update composer.

```
"mammut-alex/laravel-collection-thanos": "^1.0"
```

or `composer require mammut-alex/laravel-collection-thanos`

Introduction
------------

[](#introduction)

Thanos is disaster some of you collection.

Here is an example

```
    $data = new Collection([1, 2, 3, 4, 5, 6, 7, 8, 9,10]);
    $data->thanos()->all();//[2,4,5,8,10]
```

Also you can choose the degree of kindness of the Thanos (what percentage of creature he items to have mercy)

```
    $data = new Collection([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
    $data->thanos(20)->all();//[2,5]
```

License
-------

[](#license)

Laravel Collection Thanos is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

3

Last Release

2525d ago

PHP version history (2 changes)v1.0PHP &gt;=7.2

v1.1PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/7187f568f504ce09b7512391a19f0a97132739be986b682e125745f8aef480a8?d=identicon)[MammutCris](/maintainers/MammutCris)

---

Top Contributors

[![MammutAlex](https://avatars.githubusercontent.com/u/10599196?v=4)](https://github.com/MammutAlex "MammutAlex (12 commits)")

---

Tags

laravelcollectionthanos

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mammut-alex-laravel-collection-thanos/health.svg)

```
[![Health](https://phpackages.com/badges/mammut-alex-laravel-collection-thanos/health.svg)](https://phpackages.com/packages/mammut-alex-laravel-collection-thanos)
```

###  Alternatives

[grumpydictator/firefly-iii

Firefly III: a personal finances manager.

23.9k69.5k](/packages/grumpydictator-firefly-iii)[firefly-iii/data-importer

Firefly III Data Import Tool.

8035.8k](/packages/firefly-iii-data-importer)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17878.9k](/packages/markwalet-nova-modal-response)[ronasit/laravel-helpers

Provided helpers function and some helper class.

2085.6k31](/packages/ronasit-laravel-helpers)[team-nifty-gmbh/tall-datatables

Server-side rendered datatables for Laravel and Livewire

1320.9k4](/packages/team-nifty-gmbh-tall-datatables)[iteks/laravel-enum

A comprehensive Laravel package providing enhanced enum functionalities, including attribute handling, select array conversions, and fluent facade interactions for robust enum management in Laravel applications.

2519.3k](/packages/iteks-laravel-enum)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
