PHPackages                             pisc/upperscore - 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. pisc/upperscore

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

pisc/upperscore
===============

General functions for PHP

1.0.9(9y ago)02282MITPHPPHP &gt;=5.4

Since Oct 26Pushed 8y ago1 watchersCompare

[ Source](https://github.com/PieterScheffers/upperscore)[ Packagist](https://packagist.org/packages/pisc/upperscore)[ RSS](/packages/pisc-upperscore/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (1)Versions (10)Used By (2)

[![Latest Stable Version](https://camo.githubusercontent.com/6ad2e4be608b97b595a70e846cfd016c32e4aa3318d24c0c82bc94c1051c9780/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f706973632f757070657273636f72652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pisc/upperscore)[![Build Status](https://camo.githubusercontent.com/cf4586e1c818de496e0aeb510e153583441457488eca3416dfdbf9aaeeb1e138/68747470733a2f2f7472617669732d63692e6f72672f5069657465725363686566666572732f757070657273636f72652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/PieterScheffers/upperscore)

upperscore
==========

[](#upperscore)

General functions for PHP

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

[](#installation)

```
$ composer require pisc/upperscore
```

How to use:
-----------

[](#how-to-use)

PHP version &gt;= 5.6

```
use function pisc\upperscore\arrayFlatten;

$flat = arrayFlatten([ 'cow', [ 'bear', ['bunny', 'santa' ], 'rabbit' ]]);
```

PHP version &lt; 5.6

```
use pisc\upperscore as u;

$flat = u\arrayFlatten([ 'cow', [ 'bear', ['bunny', 'santa' ], 'rabbit' ]]);
```

Run tests
---------

[](#run-tests)

```
$ ./phpunit.sh
```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Recently: every ~77 days

Total

9

Last Release

3626d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0d2fed0961c00c0f7f579df5fdd0a7acb90568ce214a473c2001e73a975a884b?d=identicon)[pisc](/maintainers/pisc)

---

Top Contributors

[![PieterScheffers](https://avatars.githubusercontent.com/u/5553195?v=4)](https://github.com/PieterScheffers "PieterScheffers (41 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pisc-upperscore/health.svg)

```
[![Health](https://phpackages.com/badges/pisc-upperscore/health.svg)](https://phpackages.com/packages/pisc-upperscore)
```

###  Alternatives

[pingpong/menus

Laravel Menus

68257.9k13](/packages/pingpong-menus)[lochmueller/calendarize

Create a structure for timely controlled tables (e.g. events) and one plugin for the different output of calendar views (list, detail, month, year, day, week...). The extension is shipped with one default event table, but you can also 'calendarize' your own table/model. It is completely independent and configurable! Use your own models as event items in this calender. Development on https://github.com/lochmueller/calendarize

77170.1k15](/packages/lochmueller-calendarize)[hostnet/entity-tracker-component

Provides an event when a Tracked entity changes

16161.6k9](/packages/hostnet-entity-tracker-component)[ijeffro/laravel-cities

Laravel Cities is a bundle for Laravel, providing Iata Code ISO 3166 3 and country codes for all the cities.

118.2k](/packages/ijeffro-laravel-cities)[laravelplus/laravel-updater

A Laravel package for syncing with upstream repositories (GitHub, GitLab, Bitbucket, etc.)

222.0k](/packages/laravelplus-laravel-updater)[andrmoel/astronomy-bundle

Bundle for astronomical calculations such as position of moon, sun and planets, sunrise, sunset or solar eclipses. Most of the calculations are based on Jean Meeus 'Astronomical Algorithms' book and the VSOP87 theory.

111.6k](/packages/andrmoel-astronomy-bundle)

PHPackages © 2026

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