All Projects → AxiosLeo → aliyun-sdk

AxiosLeo / aliyun-sdk

Licence: Apache-2.0 license
aliyun sdk , composer library

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to aliyun-sdk

Openapi Core Nodejs Sdk
OpenAPI POP core SDK for Node.js
Stars: ✭ 156 (+766.67%)
Mutual labels:  aliyun
Ant Design Aliyun Theme
⚙ Ant Design Theme for console.aliyun.com
Stars: ✭ 237 (+1216.67%)
Mutual labels:  aliyun
dysms
阿里短信接口
Stars: ✭ 68 (+277.78%)
Mutual labels:  aliyun
Rocketmq Spring Boot Starter
rocketmq-spring-boot-starter
Stars: ✭ 178 (+888.89%)
Mutual labels:  aliyun
Siprtcproxy
网关服务:Sip与Rtc互通,实现Web,Android,iOS,小程序,SIP座机,PSTN电话,手机互通。
Stars: ✭ 217 (+1105.56%)
Mutual labels:  aliyun
xxcloud
xxcloud,旨在整合数据中心异构虚拟化资源为统一的资源池,并在资源池上为用户提供各类IAAS、PAAS服务。
Stars: ✭ 64 (+255.56%)
Mutual labels:  aliyun
Alispot
自动创建阿里云抢占式实例,并启用网络加速
Stars: ✭ 139 (+672.22%)
Mutual labels:  aliyun
AliyunAccessKeyTools
阿里云AccessKey泄漏利用工具
Stars: ✭ 125 (+594.44%)
Mutual labels:  aliyun
Ddns Scripts aliyun
OpenWrt/LEDE DDNS support for aliyun (阿里云)
Stars: ✭ 224 (+1144.44%)
Mutual labels:  aliyun
ali-cloud-video
阿里云视频点播SDK
Stars: ✭ 16 (-11.11%)
Mutual labels:  aliyun
Aliyun Ddns Cli
ALiDDNS - Dynamic DNS CLI for [aliyun.com]
Stars: ✭ 195 (+983.33%)
Mutual labels:  aliyun
Openapi Sdk Php Client
Official repository of the Alibaba Cloud Client for PHP
Stars: ✭ 206 (+1044.44%)
Mutual labels:  aliyun
awesome-env-config-cn
各种开发语言项目环境国内(中国国内加速镜像)配置教程和部分实践经验,包括github.com, nodejs,npm,nvm, yarn, java, maven, gradle, python, mysys2, elasticsearch, php,golang等等,更多正在加入中...
Stars: ✭ 50 (+177.78%)
Mutual labels:  aliyun
Aliddnsbash
阿里云域名解析动态更新(DDNS)的 Shell 脚本
Stars: ✭ 173 (+861.11%)
Mutual labels:  aliyun
deno serverless aliyun
为阿里云 serverless 平台添加 Deno Runtime
Stars: ✭ 60 (+233.33%)
Mutual labels:  aliyun
Aliyun Ons
☁️ SDK of Node.js for Aliyun ONS. 🚀
Stars: ✭ 151 (+738.89%)
Mutual labels:  aliyun
laravel-admin
LaravelAdmin是基于PHP开发的基础管理后台系统,做到开箱即用,为新项目开发省去了基础功能开发的步骤;此系统采用前后端分离模式,后端使用Laravel,前端使用vue;主要包含:登录、注销、可视化数据大屏、管理员、角色管理、菜单管理、权限管理、错误日志、登录日志、访问日志、获取服务器CPU使用率、内存使用率等功能。后端主要使用Artisan命令行、Jobs消息队列、 Rules验证规则、Restful API、Composer扩展包、Redis秒杀、Extend自定义扩展类:微信授权、钉钉告警推送、MongoDB、阿里云OSS、七牛云存储、七牛云直播、php-jwt TOKEN、Phpoffice、MySql数据库字典、Elasticsearch等技术。
Stars: ✭ 45 (+150%)
Mutual labels:  aliyun
aliyun-oss-laravel
Laravel 的 Aliyun OSS 扩展, 支持 Laravel 9. Alibaba Cloud Object Storage Service For Laravel.
Stars: ✭ 91 (+405.56%)
Mutual labels:  aliyun
AliyunLogObjc
Aliyun Sls Log SDK for iOS
Stars: ✭ 22 (+22.22%)
Mutual labels:  aliyun
aliyun-openapi-sdk-net-core
aliyun open api sdk for .net core 2.0
Stars: ✭ 17 (-5.56%)
Mutual labels:  aliyun

English | 简体中文

The set of Aliyun Cloud Service SDK ,Support for composer library.

Latest Stable Version License

Aliyun Cloud official documentation center

QQ Group:521797692

Env

  • PHP 7.1+.
  • CURL extension.

Install

composer require axios/aliyun-sdk

Development Plan

How To Use

aliyun-sdk/example

  • require composer autoload
require_once __DIR__. "/../vendor/autoload.php";
  • auth
$access_id = "testAccessKeyId";
$access_secret = "testAccessKeySecret";

\aliyun\sdk\Aliyun::auth($access_id, $access_secret);
  • Setting Region
\aliyun\sdk\Aliyun::region('cn-shanghai');

// or
$request = Vod::V20170321()->GetCategories();
$request->region("cn-shanghai);

// get region
$request->region();
  • Request
$response = Vod::V20170321()->GetCategories()
    ->setCateId(-1)
    ->request();
    
// or
AliyunServices::Vod20170321()->GetCategories()
    ->setCateId(-1)
    ->request();
  • Get Response Content
dump($response->getContent());

Customized Request

use aliyun\sdk\core\lib\Request;

class Example
{

    protected static $product = "<ProductName>";

    protected static $service_code = "<ProductServiceCode>";

    /**
     * @var string
     * @example \aliyun\sdk\core\credentials\AccessKeyCredential
     * @example AccessKeyCredential
     */
    protected static $credential = "<Credential>";

    protected static $version = "<VersionDate>";

    protected static $endpoints = [
        "regions"  => [],
        "public"   => [],
        "internal" => []
    ];

    /**
     * @param $action
     *
     * @return Request
     */
    public static function client($action = null)
    {
        $request = new Request();
        $request->product(self::$product);
        $request->version(self::$version);
        $request->action($action);
        $request->endpoints(self::$endpoints);
        $request->credential(self::$credential);
        $request->serviceCode(self::$service_code);
        return $request;
    }
}
$request = Example::client();

$request->method("POST");

$response = $request->params("key", "value")
    ->headers("header_name", "header_content")
    ->options("guzzle_option_name", "option_value")
    ->request();

$result   = $response->getContent();

Request Option

License

licensed under the Apache License 2.0

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].