PHPackages                             danidoble/gf - 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. danidoble/gf

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

danidoble/gf
============

useful functions for any project

v0.1.0(3y ago)0102MITPHPPHP ^8.0

Since May 29Pushed 3y ago1 watchersCompare

[ Source](https://github.com/danidoble/gf)[ Packagist](https://packagist.org/packages/danidoble/gf)[ Docs](https://github.com/danidoble/gf)[ RSS](/packages/danidoble-gf/feed)WikiDiscussions main Synced yesterday

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

GF
==

[](#gf)

This package provide functions usefuls to any project so you can live relax

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

[](#installation)

```
composer require danidoble/gf

```

Functions
=========

[](#functions)

- `env($index,$default=null)`
- `diffForHumans($date)`
- `diffForHumansMonth($date)`
- `diffForHumansComplete($date)`
- `randStr(int $length = 60)`
- `dateFormats($date = null, bool $sum = false, bool $res = false, int $num = 0)`

This package also include danidoble\\translation, so you can use the functions on it

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

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

Total

4

Last Release

1220d ago

PHP version history (2 changes)v0.0.1PHP ^7.3|^8.0

v0.1.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/2215f99c2b8dd234059f7658a737822ef9a79850dd0babf44658625f694ca086?d=identicon)[danidoble](/maintainers/danidoble)

---

Top Contributors

[![danidoble](https://avatars.githubusercontent.com/u/20725260?v=4)](https://github.com/danidoble "danidoble (6 commits)")

---

Tags

functionsdanidoble

### Embed Badge

![Health badge](/badges/danidoble-gf/health.svg)

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

###  Alternatives

[maciejczyzewski/bottomline

A full-on PHP manipulation utility belt that provides support for working with arrays, objects, and iterables; a lodash or underscore equivalent for PHP.

477631.4k10](/packages/maciejczyzewski-bottomline)[ilya/belt

A handful of tools for PHP developers.

71020.8k1](/packages/ilya-belt)[illuminated/helper-functions

Laravel-specific and pure PHP Helper Functions.

107586.6k7](/packages/illuminated-helper-functions)[jawira/plantuml-encoding

PlantUML encoding functions

20561.9k9](/packages/jawira-plantuml-encoding)[me-io/php-lodash

A full-on PHP manipulation utility-belt that provides support for the usual functional.

38100.0k](/packages/me-io-php-lodash)[nilportugues/php_todo

Looks into the code using a user-defined list of to-do phrases and stops commit if the total amount increased or is above a threshold.

1210.0k](/packages/nilportugues-php-todo)

PHPackages © 2026

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