avtocod/specs-php
最新稳定版本:v1.12.0
Composer 安装命令:
composer require avtocod/specs-php
包简介
PHP SDK for 'Avtocod project' specifications
README 文档
README
PHP SDK for avtocod/specs
This repository contains SDK for data from avtocod/specs specifications repository.
Install
Require this package with composer using the following command:
$ composer require avtocod/specs-php "^1.0"
Installed
composeris required (how to install composer).
You need to fix the major version of package.
Usage
use Avtocod\Specifications\Specifications; // Get specifications (not SDK) version $version = Specifications::version(); // Get report content (full example) $report_example = Specifications::getReportExample(); // Get report json-schema (as an object or associative array) $report_schema = Specifications::getReportJsonSchema();
For more examples - look into sources.
Testing
For package testing we use phpunit framework and docker with compose plugin as develop environment. So, just write into your terminal after repository cloning:
$ make build $ make latest # or 'make lowest' $ make test
Changes log
Changes log can be found here.
Support
If you will find any package errors, please, make an issue in current repository.
License
This is open-sourced software licensed under the MIT License.
统计信息
- 总下载量: 9.21k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2020-08-31