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
Requires
- ext-json: *
- hanson/foundation-sdk: ^5.0
Requires (Dev)
- laravel/framework: ^6.0 | ^7.0 | ^8.0
- phpunit/phpunit: ^9.5
- vlucas/phpdotenv: ^5.3
This package is auto-updated.
Last update: 2024-11-26 10:07:30 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