jrevillaa/obs-api-zoom

Api OBS adaptate to composer

v1.1 2021-09-30 21:38 UTC

This package is auto-updated.

Last update: 2024-03-29 04:27:00 UTC


README

Huawei Cloud OBS

Requirement

  • PHP >= 7.1.3

Installation

$ composer require "jrevillaa/obs-api-laravel"

Configuration

  1. After installing the library, register the file:
// Import the class namespaces first, before using it directly
  use Obs\ObsClient as ObsClient;
  use Obs\ObsException as ObsException;
  
  $ak = '*** Provide your Access Key ***';
  
  $sk = '*** Provide your Secret Key ***';
  
  $endpoint = 'https://your-endpoint:443';
  
  $obsClient = ObsClient::factory(array (
      'key' => $ak,
      'secret' => $sk,
      'endpoint' => $endpoint,
  ));

License

MIT