yunify / qingstor-sdk
The official QingStor SDK for the PHP programming language.
Installs: 1 596
Dependents: 2
Suggesters: 0
Security: 0
Stars: 6
Watchers: 4
Forks: 6
Open Issues: 1
Requires
- guzzlehttp/guzzle: ~5|~6.3
- guzzlehttp/psr7: ~1.3
- katzgrau/klogger: ^1.2.1
- mustangostang/spyc: ~0.6
Requires (Dev)
- behat/behat: ^3.5
- friendsofphp/php-cs-fixer: ^2.13
- phpunit/phpunit: ~4.0|~5.0
This package is not auto-updated.
Last update: 2025-03-15 22:43:10 UTC
README
The official QingStor SDK for the PHP programming language.
Getting Started
Installation
Refer to the Installation Guide, and have this SDK installed.
Preparation
Before your start, please go to QingCloud Console to create a pair of QingCloud API AccessKey.
API AccessKey Example:
access_key_id: 'ACCESS_KEY_ID_EXAMPLE' secret_access_key: 'SECRET_ACCESS_KEY_EXAMPLE'
Usage
Now you are ready to code. You can read the detailed guides in the list below to have a clear understanding or just take the quick start code example. Checkout our releases and change logs for information about the latest features, bug fixes and new ideas.
Quick Start Code Example:
use QingStor\SDK\Service\QingStor; use QingStor\SDK\Config; $config = new Config('ACCESS_KEY_ID_EXAMPLE','SECRET_ACCESS_KEY_EXAMPLE'); $service = new QingStor($config); $bucket = $service->Bucket('test_bucket', 'pek3a'); $res = $bucket->listObjects(); var_dump($res->keys);
Reference Documentations
Contributing
Please see Contributing Guidelines of this project before submitting patches.
LICENSE
The Apache License (Version 2.0, January 2004).