qbhy / acrcloud by qbhy

acrcloud php sdk,支持laravel/lumen
764
2
2
Package Data
Maintainer Username: qbhy
Maintainer Contact: 96qbhy@gmail.com (qbhy)
Package Create Date: 2019-09-11
Package Last Update: 2021-09-26
Language: PHP
License: Unknown
Last Refreshed: 2024-11-19 03:07:12
Package Statistics
Total Downloads: 764
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 2
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

acrcloud

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