PHPackages                             benyi/laravel-more-macros - 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. benyi/laravel-more-macros

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

benyi/laravel-more-macros
=========================

Provides more macros for illuminate/support or Laravel Macroble classes.

v0.0.4(6y ago)19[1 PRs](https://github.com/banqhsia/laravel-more-macros/pulls)MITPHP

Since May 16Pushed 1y ago1 watchersCompare

[ Source](https://github.com/banqhsia/laravel-more-macros)[ Packagist](https://packagist.org/packages/benyi/laravel-more-macros)[ RSS](/packages/benyi-laravel-more-macros/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (5)Versions (6)Used By (0)

Laravel-more-macros
===================

[](#laravel-more-macros)

Provides more macros for illuminate/support or Laravel Macroble classes.

Prerequisites
-------------

[](#prerequisites)

- [illuminate/support](https://github.com/illuminate/support) installed

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

[](#installation)

```
composer require benyi/laravel-more-macros
```

Methods
-------

[](#methods)

> See [`bootstrap.php`](https://github.com/banqhsia/laravel-more-macros/blob/master/src/bootstrap.php) file listing.

```
/**
 * Check if an item is not exists in an array using "dot" notation.
 *
 * @param \ArrayAccess|array $array
 * @param string $key
 * @return array
 */
Illuminate\Support\Arr::absent($array, $key)

/**
 * "Un-dot" the flattened array into multi-dimensional structure.
 *
 * @param array $array
 * @return array
 */
Illuminate\Support\Arr::undot($array)

/**
 * Diff the collection with the given items (case insensitive)
 *
 * @param mixed $items
 * @return $this
 */
Illuminate\Support\Collection::diffCi($items)

/**
 * Determines if the given string is a valid DateTime format.
 *
 * @param string|null $time
 * @param \DateTimeZone|string|null $tz
 * @return bool
 */
Illuminate\Support\Carbon::recognized($time, $tz)

/**
 * Determines if the given string is not a valid DateTime format.
 *
 * @param string|null $time
 * @param \DateTimeZone|string|null $tz
 * @return bool
 */
Illuminate\Support\Carbon::unrecognized($time, $tz)

```

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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 ~8 days

Total

4

Last Release

2212d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4393788?v=4)[Benyi](/maintainers/banqhsia)[@banqhsia](https://github.com/banqhsia)

---

Top Contributors

[![banqhsia](https://avatars.githubusercontent.com/u/4393788?v=4)](https://github.com/banqhsia "banqhsia (19 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/benyi-laravel-more-macros/health.svg)

```
[![Health](https://phpackages.com/badges/benyi-laravel-more-macros/health.svg)](https://phpackages.com/packages/benyi-laravel-more-macros)
```

###  Alternatives

[wolfcast/browser-detection

The Wolfcast BrowserDetection PHP class facilitates the identification of the user's environment such as Web browser, version, platform family, platform version or if it's a mobile device or not.

1411.1M7](/packages/wolfcast-browser-detection)[yosimitso/workingforumbundle

A complete forum bundle

425.3k](/packages/yosimitso-workingforumbundle)

PHPackages © 2026

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