avtocod/specs-php 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

avtocod/specs-php

最新稳定版本:v1.12.0

Composer 安装命令:

composer require avtocod/specs-php

包简介

PHP SDK for 'Avtocod project' specifications

README 文档

README

avtocod

Version PHP Version Build Status Coverage Downloads count License

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 composer is 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

Release date Commits since latest release

Changes log can be found here.

Support

Issues Issues

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

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-08-31