Country Codes Converter for PHP in Japanese.
- PHP 5.3.3 or higher.
At first, install composer.
$ mkdir workspace
$ cd workspace
$ curl -s http://getcomposer.org/installer | php
Create composer.json.
{
"require": {
"kura-lab/countries": "1.*"
}
}
Install library.
$ php composer.phar install
Check coding style with CodeSniffer.
$ vendor/bin/phpcs --standard=PSR2 src/
Execute unit test with PHPUnit.
$ vendor/bin/phpunit