php-helpers / php-helpers
PhpHelpers is a PHP Packages Framework which shares the common PHP functions
v1.1.2-alpha
2019-11-29 03:48 UTC
Requires
- php: >=7.2
Requires (Dev)
- codedungeon/phpunit-result-printer: ^0.26.1
- phpunit/phpunit: ^8.0
- squizlabs/php_codesniffer: 3.*
This package is auto-updated.
Last update: 2024-03-29 03:51:40 UTC
README
PhpHelpers is a PHP Common classes
Highlights
PhpHelpers includes:
- Fraction (Converting fraction string to decimal and vice versa)
- Money & Currency (Format currency)
- XMLHelper
- Ready Unit Test
- Version Control: Git (
.gitattributes
,.gitignore
) - Continuous Integration: Travis and Scrutinizer (
.scrutinizer.yml
,.travis.yml
) - Testing: PHPUnit (
phpunit.xml
) - Package Manager: Composer (
composer.json
)
Installation
Software Requirement
- Git
- Composer
Installation Steps
git clone https://github.com/ngocongcan/PhpHelpers.git
composer update
- make sure everything is OK by running the tests
composer test
Test
To run the tests, run the following command from the project folder.
$ ./vendor/bin/phpunit
Credits
License
The MIT License (MIT). See the License File for more information.