wizaplace/sdk
Composer 安装命令:
composer require wizaplace/sdk
包简介
Wizaplace's PHP SDK
README 文档
README
PHP SDK for the Wizaplace e-commerce API: https://sandbox.wizaplace.com/api/v1/doc/
Installation
composer require wizaplace/sdk
Usage
You can find some small examples there: Wizaplace\SDK\Tests\ExampleTest
Development
Running linters and tests
With Docker
./docker-make all
Directly on your machine
Requires Make, Composer, and all dependencies defined in composer.json.
composer install
make all
To run a single test, run the following command:
vendor/bin/phpunit --debug --verbose tests/PathToTestClass/MyServiceTest.php --filter testMyFunction
When you run the test testMyFunction() of the file MyServiceTest.php, a cassette at the format testMyFunction.yml
will be generated in the directory MyServiceTest. Everytime you want to reload the test, you will have to delete
the cassette.
php-vcr behaviour
Any changes to an API call in a tested method will make regenerate the cassette files (this needs the tests to be run twice). Those changes need to be committed alongside your code.
Deployment
When master is ready to be deployed on Packagist.org:
- Go to the releases page on Github
- Click on "Draft a new release"
- Choose a new tag following semver (e.g.
1.30.1) - Change the target to
master - Set the release title to "Release {version}" (e.g. "Release 1.30.1")
- Copy the relevant section of the Changelog in the release description, or if the version is a patch, just write the list of fixes in a list
- Click on "Publish release"
- Check that the version is published on Packagist
wizaplace/sdk 适用场景与选型建议
wizaplace/sdk 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 61.21k 次下载、GitHub Stars 达 3, 最近一次更新时间为 2017 年 08 月 29 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 wizaplace/sdk 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 wizaplace/sdk 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 61.21k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2017-08-29