useful functions for any project

v0.1.0 2023-01-05 22:40 UTC

This package is auto-updated.

Last update: 2024-11-06 02:43:39 UTC


README

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

Installation

composer require danidoble/gf 

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