belgattitude/openstore-client

1.6.0 2016-02-09 10:29 UTC

This package is auto-updated.

Last update: 2024-09-16 02:33:28 UTC


README

安装

通过Composer(方案1)

可解决组件可以通过Composer安装。有关Composer文档,请参阅getcomposer.org

php composer.phar require belgattitude/openstore-client:1.*

通过github克隆(方案2)

在目录中克隆

	cd my/project/dir
	git clone https://github.com/belgattitude/openstore-client.git .
	php composer.phar self-update
	php composer.phar install

创建配置文件

将 ./config/oclient.config.php.dist 复制到 ./config/oclient.config.php

	cd ./config
	cp oclient.config.php.dist oclient.config.php

在配置文件中编辑 base_url 和 api_key

更新

	cd my/project/dir
	git pull
	php composer.phar update