Skip to content

ngocongcan/phphelpers

Repository files navigation

PhpHelpers (light)

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.