定制 ajdurant/acr-cloud 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ajdurant/acr-cloud

最新稳定版本:v0.1.2

Composer 安装命令:

composer require ajdurant/acr-cloud

包简介

An ACRCloud API PHP client library

关键字:

README 文档

README

Build Status

About

URL: https://github.com/AJDurant/acr-cloud-php

Author: AJDurant

Usage

Install through composer.

use \AJDurant\ACRCloud\ACRCloud;

$acr = new ACRCloud(api_key, api_secret);
$data = $acr->identify(path_to_audio_file);

Data returned is of the format described in the ACRCloud Metadata Docs as a PHP associative array.

Build dependencies

In order to build your generated Composer project from its source, you will need Grunt and PHP on the command line.

So, you must install PHP5 on your system on your command line. Test it:

php --help

To install Grunt globally on the command line (and run the above build task), run:

npm install -g grunt-cli

Then, with Grunt, you can install Composer, PhpDocumentor, PhpUnit and PhpCPD locally. Just run once:

grunt init

Then, you can install PhpDocumentor, PhpUnit and PhpCPD locally. Just run once:

php composer.phar install -v

Finally, you should also install the PHP extension named Xdebug, which will be used by PhpUnit for code coverage.

Build the sources

Once all your dependencies are installed, you can build your project with Grunt:

grunt build

The build process will run the following tasks:

  • PhpLint: runs php -l over the "src" folder
  • Runs the tests located in the "tests" folder with PHPUnit
  • Generates a PhpDocumentor documentation in the "doc" folder from the files of the "src" folder
  • Detects copy/paste of code in the files of the "src" folder with PhpCPD

Built with Grunt

Credits

acr-cloud-php was initiated with generator-composer, a Yeoman generator that builds a PHP Composer project.

This project uses the following as development dependencies:

License

License

统计信息

  • 总下载量: 49
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: ISC
  • 更新时间: 2015-10-21