gopad/gopad-php

为 Gopad 的 OpenAPI 客户端

1.3.0 2024-06-10 08:17 UTC

This package is auto-updated.

Last update: 2024-10-03 10:37:26 UTC


README

General Workflow Join the Matrix chat at https://matrix.to/#/#gopad:matrix.org Codacy Badge PHP Version

此存储库提供了 PHP 的客户端 SDK。此 SDK 由 OpenAPI Generator 项目自动生成

  • API 版本:1.0.0-alpha1
  • 包版本:1.3.0
  • 构建包:org.openapitools.codegen.languages.PhpClientCodegen

更多信息,请访问 https://gopad.eu

安装

要求

PHP 7.4 及以上。也应与 PHP 8.0 兼容。

Composer

要使用 Composer 安装绑定,请将以下内容添加到您的 composer.json 文件中

{
  "repositories": [
    {
      "type": "vcs",
      "url": "https://github.com/gopad/gopad-php.git"
    }
  ],
  "require": {
    "gopad/gopad-php": "*@dev"
  }
}

之后,您只需运行 composer install 来下载它,然后您就可以将其作为库使用。

手动安装

下载文件,并包含此库/存储库的一部分 autoload.php 文件。

<?php
require_once('/path/to/gopad/vendor/autoload.php');

测试

composer install
vendor/bin/phpunit

安全

如果您发现安全问题,请首先联系 gopad@webhippie.de

贡献

Fork -> Patch -> Push -> Pull Request

作者

许可证

Apache-2.0

版权

Copyright (c) 2018 Thomas Boerger <thomas@webhippie.de>