96qbhy/acrcloud

There is no license information available for the latest version (v2.0) of this package.

acrcloud php sdk,支持laravel/lumen

v2.0 2021-09-26 02:52 UTC

This package is auto-updated.

Last update: 2024-10-26 09:49:32 UTC


README

acrcloud php sdk,支持laravel/lumen

安装 - install

  • composer 安装
$ composer require 96qbhy/acrcloud

使用 - usage

<?php
use Qbhy\AcrCloud\AcrCloud;

require 'vendor/autoload.php';

$config = [
    'debug'=>true,
    'host'       => 'https://cn-api.acrcloud.com',
    'access_key' => 'ACR_ACCESS_KEY',
    'secret_key' => 'ACR_SECRET_KEY',
];

$acr = new AcrCloud($config);

dump($acr->bucket->getAll());
dump($acr->audio->getAll('your_bucket_name'));
dump($acr->channel->getAll('your_bucket_name'));

关于 - about

author: 96qbhy@gmail.com