Coder Social home page Coder Social logo

anchnet / aliyun-openapi-php-sdk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aliyun/aliyun-openapi-php-sdk

21.0 8.0 9.0 1.43 MB

Alibaba Cloud SDK for PHP(Composer full support)

Home Page: https://packagist.org/packages/anchnet/aliyun-openapi-php-sdk

License: Other

PHP 100.00%
aliyun openapi api sdk-php php composer

aliyun-openapi-php-sdk's Introduction

Open API SDK for php developers

Requirements

  • PHP 5.3+

Build

  • to run unit tests, you will have to configure aliyun-sdk.properties files in your user directory, and make sure your project has corresponding service enabled, eg. openmr.

Composer Support

composer require anchnet/aliyun-openapi-php-sdk:dev-master

Example

include_once 'vendor/autoload.php';

use Ecs\Request\V20140526 as Ecs;

$iClientProfile = DefaultProfile::getProfile("cn-hangzhou", "<your accessKey>", "<your accessSecret>");
$client = new DefaultAcsClient($iClientProfile);

$request = new Ecs\DescribeRegionsRequest();
$request->setMethod("GET");
$response = $client->getAcsResponse($request);
print_r($response);

Authors && Contributors

License

licensed under the Apache License 2.0

aliyun-openapi-php-sdk's People

Contributors

ivanzhangwb avatar laiwang avatar liyan2011 avatar longxinh avatar malijiefoxmail avatar qingtang-sdk avatar wudi avatar wuling0412 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aliyun-openapi-php-sdk's Issues

compoesr安装失败

composer require anchnet/aliyun-openapi-php-sdk

[InvalidArgumentException]
Could not find package anchnet/aliyun-openapi-php-sdk at any version for your minimum-stability (stable). Check the package spelling or your minimum-stability

Class not found

$iClientProfile = \DefaultProfile::getProfile($regionId, $accessKey, $accessSecret);
$client = new \DefaultAcsClient($iClientProfile);
$request = new \Ecs\Request\V20140526\DescribeRegionsRequest(); // 这个类能找到
$request = new \Sas_api\Request\V20170705\GetCrackListRequest(); // 这个类找不到
$response = $client->getAcsResponse($request);

laravel5.5

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.