kura-lab/countries

PHP国家代码转换器(日语)

1.0.0 2017-05-02 08:54 UTC

This package is not auto-updated.

Last update: 2024-09-15 02:23:06 UTC


README

PHP国家代码转换器(日语)。

Packagist license

规范

要求

Minimum PHP Version

  • PHP 5.3.3 或更高版本。

安装

首先,安装composer。

$ mkdir workspace
$ cd workspace
$ curl -s http://getcomposer.org/installer | php

创建 composer.json。

{
    "require": {
        "kura-lab/countries": "1.*"
    }
}

安装库。

$ php composer.phar install

开发

使用CodeSniffer检查代码风格。

$ vendor/bin/phpcs --standard=PSR2 src/

使用PHPUnit执行单元测试。

$ vendor/bin/phpunit