Download the PHP package corpsee/nameless-utilities without Composer
On this page you can find all versions of the php package corpsee/nameless-utilities. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download corpsee/nameless-utilities
More information about corpsee/nameless-utilities
Files in corpsee/nameless-utilities
Package nameless-utilities
Short Description PHP Utilities compliant with PSR-1, PSR-2, PSR-4 and Composer
License GPL-3.0-only
Homepage https://github.com/corpsee/nameless-utilities
Informations about the package nameless-utilities
This package is abandoned and no longer maintained.
Nameless utilities
PHP Utilities compliant with PSR-1, PSR-2, PSR-4 and Composer.
Installation
You can install Nameless utilities by composer. Add following code to "require" section of the composer.json
:
And install dependencies using the Composer:
Usage
ArrayHelper
DateTimeHelper
Usage with localization/alternative labels:
FileSizeHelper
PathHelper
StringHelper
UrlHelper
BcMathHelper
Passing values of type float to a BCMath function which expects a string as operand may not have the desired effect due to the way PHP converts float values to string, namely that the string may be in exponential notation (what is not supported by BCMath), and that the decimal separator is locale depended (while BCMath always expects a decimal point).
BcMathHelper solve problem with floats to strings converting and "," as decimal separator for BcMath functions:
Tests
You can run the unit tests with the following commands:
License
The Nameless utilities is open source software licensed under the GPL-3.0 license.
All versions of nameless-utilities with dependencies
ext-mbstring Version *
ext-bcmath Version *
ext-intl Version *