PHPackages                             alextartan/helpers - 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. alextartan/helpers

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

alextartan/helpers
==================

Collection of helper classes

3.0.0(4y ago)240.5k↓31.3%1[1 PRs](https://github.com/alextartan/helpers/pulls)2Apache-2.0PHPPHP ^8.0 || ^8.1

Since Jul 24Pushed 2y ago1 watchersCompare

[ Source](https://github.com/alextartan/helpers)[ Packagist](https://packagist.org/packages/alextartan/helpers)[ RSS](/packages/alextartan-helpers/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (8)Dependencies (10)Versions (16)Used By (2)

Current build status
====================

[](#current-build-status)

[![CI](https://github.com/alextartan/helpers/workflows/CI/badge.svg?branch=master)](https://github.com/alextartan/helpers/workflows/CI/badge.svg?branch=master)[![codecov](https://camo.githubusercontent.com/5ef6aef7a976d914b3e6ff33ec4b58a811898dee01a8c9ae5f8eb9435a00e895/68747470733a2f2f636f6465636f762e696f2f67682f616c657874617274616e2f786d6c3261727261792f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/alextartan/xml2array)[![Mutation testing badge](https://camo.githubusercontent.com/b05cde7c151a2a92b4eb1af257707299cd2d43bbeb32517561420a43b00f0e30/68747470733a2f2f62616467652e737472796b65722d6d757461746f722e696f2f6769746875622e636f6d2f616c657874617274616e2f68656c706572732f6d6173746572)](https://stryker-mutator.github.io)[![Downloads](https://camo.githubusercontent.com/2d23b771639dcd4a902ecaed7a80d4d26e643fcc5afea275a1a808cd85625729/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f64796e616d69632f6a736f6e2e7376673f75726c3d68747470733a2f2f7265706f2e7061636b61676973742e6f72672f7061636b616765732f616c657874617274616e2f68656c706572732e6a736f6e266c6162656c3d446f776e6c6f6164732671756572793d242e7061636b6167652e646f776e6c6f6164732e746f74616c26636f6c6f72423d6f72616e6765)](https://packagist.org/packages/alextartan/helpers)

About
=====

[](#about)

These are some on the helpers I've gathered so far.

Not a lot of magic involved, but these have saved me hours of work

##### Array

[](#array)

- `indexArrayOfObjectsByMethod`
- `indexArrayOfArraysByKey`

##### Reflection

[](#reflection)

- `setPrivatePropertyValue`
- `getPrivatePropertyValue`
- `callPrivateMethod`

##### Dates

[](#dates)

- `getDateTimeFromDateTimeImmutable`
- `toYmdHis`

... and some more

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 58% 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 ~67 days

Recently: every ~169 days

Total

14

Last Release

1660d ago

Major Versions

1.3.0 → 2.0.02020-01-20

2.1.4 → 3.0.02021-12-17

PHP version history (5 changes)1.0.0PHP ^7.2

2.0.0PHP ^7.4

2.1.2PHP ^7.4|^8.0

2.1.3PHP ^7.4||^8.0

3.0.0PHP ^8.0 || ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/eefc8c3538aee268c9818b990c50ddf45615ec922209d1897a8ae2943359c746?d=identicon)[alextartan](/maintainers/alextartan)

---

Top Contributors

[![alextartan](https://avatars.githubusercontent.com/u/1787996?v=4)](https://github.com/alextartan "alextartan (47 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (24 commits)")[![atirtan](https://avatars.githubusercontent.com/u/74187125?v=4)](https://github.com/atirtan "atirtan (7 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/alextartan-helpers/health.svg)

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

###  Alternatives

[symfony/lock

Creates and manages locks, a mechanism to provide exclusive access to a shared resource

514139.2M692](/packages/symfony-lock)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

564576.7k53](/packages/ecotone-ecotone)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[illuminate/broadcasting

The Illuminate Broadcasting package.

7127.2M208](/packages/illuminate-broadcasting)[logiscape/mcp-sdk-php

Model Context Protocol SDK for PHP

368116.8k12](/packages/logiscape-mcp-sdk-php)

PHPackages © 2026

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