一元网络论坛

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 102|回复: 0

阿里云十年CDT监控,PHP版多账号无需本地部署。

[复制链接]

2万

主题

2万

帖子

8万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
89655
发表于 2024-9-19 00:42:06 | 显示全部楼层 |阅读模式
## 阿里云SDK及邮件通知
自行下载阿里云SDK,并参考附带的PHPMailer邮件通知示例。
**请自行部署,不再提供搭建支持,请自行摸索。**
**阿里云SDK composer.json 内容:**
```json
{
  "name": "alibabacloud/client",
  "homepage": "https://www.alibabacloud.com/",
  "description": "Alibaba Cloud Client for PHP - Use Alibaba Cloud in your PHP project",
  "keywords": [
    "sdk",
    "tool",
    "cloud",
    "client",
    "aliyun",
    "library",
    "alibaba",
    "alibabacloud"
  ],
  "type": "library",
  "license": "Apache-2.0",
  "support": {
    "source": "https://github.com/aliyun/openapi-sdk-php-client",
    "issues": "https://github.com/aliyun/openapi-sdk-php-client/issues"
  },
  "authors": [
    {
      "name": "Alibaba Cloud SDK",
      "email": "sdk-team@alibabacloud.com",
      "homepage": "http://www.alibabacloud.com"
    }
  ],
  "require": {
    "php": ">=5.5",
    "ext-curl": "*",
    "ext-json": "*",
    "ext-libxml": "*",
    "ext-openssl": "*",
    "ext-mbstring": "*",
    "ext-simplexml": "*",
    "ext-xmlwriter": "*",
    "guzzlehttp/guzzle": "^6.3",
    "danielstjules/stringy": "^3.1",
    "mtdowling/jmespath.php": "^2.4",
    "adbario/php-dot-notation": "^2.2",
    "clagiordano/weblibs-configmanager": "^1.0"
  },
  "require-dev": {
    "ext-spl": "*",
    "ext-dom": "*",
    "ext-pcre": "*",
    "psr/cache": "^1.0",
    "ext-sockets": "*",
    "drupal/coder": "^8.3",
    "symfony/dotenv": "^3.4",
    "league/climate": "^3.2.4",
    "phpunit/phpunit": "^4.8.35|^5.4.3",
    "monolog/monolog": "^1.24",
    "composer/composer": "^1.8",
    "mikey179/vfsstream": "^1.6",
    "symfony/var-dumper": "^3.4"
  },
  "suggest": {
    "ext-sockets": "To use client-side monitoring"
  },
  "autoload": {
    "psr-4": {
      "AlibabaCloud\\Client\\": "src"
    },
    "files": [
      "src/Functions.php"
    ]
  },
  "autoload-dev": {
    "psr-4": {
      "AlibabaCloud\\Client\\Tests\\": "tests/"
    }
  },
  "config": {
    "preferred-install": "dist",
    "optimize-autoloader": true
  },
  "minimum-stability": "dev",
  "prefer-stable": true,
  "scripts-descriptions": {
    "cs": "Tokenizes PHP, JavaScript and CSS files to detect violations of a defined coding standard.",
    "cbf": "Automatically correct coding standard violations.",
    "fixer": "Fixes code to follow standards.",
    "test": "Run all tests.",
    "unit": "Run Unit tests.",
    "feature": "Run Feature tests.",
    "clearCache": "Clear cache like coverage.",
    "coverage": "Show Coverage html.",
    "endpoints": "Update endpoints from OSS."
  },
  "scripts": {
    "cs": "phpcs --standard=PSR2 -n ./",
    "cbf": "phpcbf --standard=PSR2 -n ./",
    "fixer": "php-cs-fixer fix ./",
    "test": [
      "phpunit --colors=always"
    ],
    "unit": [
      "@clearCache",
      "phpunit --testsuite=Unit --colors=always"
    ],
    "feature": [
      "@clearCache",
      "phpunit --testsuite=Feature --colors=always"
    ],
    "coverage": "open cache/coverage/index.html",
    "clearCache": "rm -rf cache/*",
    "endpoints": [
      "AlibabaCloud\\Client\\Regions\\LocationService::updateEndpoints",
      "@fixer"
    ],
    "release": [
      "AlibabaCloud\\Client\\Release::release"
    ]
  }
}
```
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|一元网络论坛

GMT+8, 2024-11-16 06:34 , Processed in 0.115695 second(s), 20 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表