定制 cloudforest/api-client-php 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

cloudforest/api-client-php

最新稳定版本:1.3

Composer 安装命令:

composer require cloudforest/api-client-php

包简介

PHP client for the CloudForest Marketplace API

README 文档

README

PHP client for the CloudForest Marketplace API.

Installation

composer require cloudforest/api-client-php

Update

Fetch recent changes with:

composer require cloudforest/api-client-php

Documentation

The client is documented with phpdoc. To read it, you could read the code in the ./vendors/cloudforest/api-client-php/src folder. Or install phpdoc then extract the documentation to your project with:

phpdoc -d vendor/cloudforest/api-client-php/src -t ./docs

You can then open ./docs/index.html in a browser.

Code Quality

You can run php-cs-fixer and phpstan:

composer run phpcs:check
composer run phpcs:fix
composer run phpstan

Testing

This will run a suite of tests against a CloudForest Marketplace server such as cfdev.cloudforest.marketplace.

Copy phpunit.dist.xml to phpunit.xml and fill in the environment variables. Then run:

composer run phpunit

JSON Schema

You can generate a JSON Schema from the PHP spec classes with:

composer run schema

统计信息

  • 总下载量: 166
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: Apache-2.0
  • 更新时间: 2024-07-16