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

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
  1. git clone https://github.com/ngocongcan/PhpHelpers.git
  2. composer update
  3. 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.