New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

minionfactory/common-helpers

Contains a few common helpers used in many projects.
35,790
Install
composer require minionfactory/common-helpers
Latest Version:v1.2.0
PHP:^8.0
License:MIT
Last Updated:Oct 20, 2023
Links: GitHub  ·  Packagist
Maintainer: recognizerHD

Common Helpers

A collection of things that go in the helpers file for various projects.

  • gen_uuid = Generates a unique ID in the format of: c2ce3a4d-e729-4d76-8af3-95a982fa5f62

  • showMoney = Does the same as asMoney, but has more configuration options and also shows the currency symbol.

  • asMoney = Converts a value to a double with two decimal points and no thousands separator.

  • dot_explode($array) = convert a dot based flat array to a multidimensional array.

Release Notes

v1.2.0
  • Reverted - asMoney no longer using bcdiv. Reverted back to number_format.
v1.1.2
  • Fixed - thousands separator threw errors too.
v1.1.1
  • Fixed - bcdiv function argument not well formed bug.
v1.1.0
  • New - Added PHP extension bcmath as required
  • Updated - composer library updates
v1.0.2
  • Updated - Put the negative symbol first
v1.0.1
  • New - Added License
v1.0.0
  • Initial Commit

Related Packages

aurion72/helpers

Aurion72 Helpers

14,667 0
xnxk/helpers

Provides backwards compatibility for helpers in the XNXK Tech.

11,896 0
velcoda/helpers

Your Package Description here

4,997
mossengine/helper

PHP Class that streamlines usages of static method helpers without needing to lo...

1,842 0
laravel/helpers

Provides backwards compatibility for helpers in the latest Laravel release.

69,288,844 809

Version History

Version Released PHP License
v1.2.0 ^8.0 MIT
v1.1.2 ^8.0 MIT
v1.1.1 ^8.0 MIT
v1.1.0 ^8.0 MIT
v1.0.2 >=7.0 MIT