PHPackages                             sunnyflail/assoc\_shift - 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. sunnyflail/assoc\_shift

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

sunnyflail/assoc\_shift
=======================

Array shift for associative arrays

1.0.0(4y ago)0141MITPHP

Since Jul 28Pushed 4y ago1 watchersCompare

[ Source](https://github.com/SunnyFlail/AssocShift)[ Packagist](https://packagist.org/packages/sunnyflail/assoc_shift)[ RSS](/packages/sunnyflail-assoc-shift/feed)WikiDiscussions main Synced 4d ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (1)

Array associative shift
=======================

[](#array-associative-shift)

This fills the ever so needed gap - provides array\_shift for shifting a value associated with a provided key

Usage
=====

[](#usage)

Call [`array_assoc_shift`](src/Function.php) with key you want to shift as first parameter, and a reference to array, you want to shift value off, as second. This will return the value, and remove it from array.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

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

Unknown

Total

1

Last Release

1750d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/50b47ac5307f9f924ae62916c792bbfcabe962da1a0eaf68230b2199d4a6283f?d=identicon)[SunnyFlail](/maintainers/SunnyFlail)

---

Top Contributors

[![SunnyFlail](https://avatars.githubusercontent.com/u/82274752?v=4)](https://github.com/SunnyFlail "SunnyFlail (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/sunnyflail-assoc-shift/health.svg)

```
[![Health](https://phpackages.com/badges/sunnyflail-assoc-shift/health.svg)](https://phpackages.com/packages/sunnyflail-assoc-shift)
```

###  Alternatives

[oittaa/uuid

A small PHP class for generating RFC 9562 universally unique identifiers (UUID) from version 3 to version 8.

50302.7k5](/packages/oittaa-uuid)[mbezhanov/ethereum-converter

A simple library for performing conversion between various Ethereum units

1836.7k](/packages/mbezhanov-ethereum-converter)[wbraganca/yii2-nested-set-behavior

This extension allows you to get functional for nested set trees.

229.4k](/packages/wbraganca-yii2-nested-set-behavior)[x-wp/di

The dependency injection container for WordPress

301.1k10](/packages/x-wp-di)

PHPackages © 2026

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