2017 © Pedro Peláez
 

library acr-cloud

An ACRCloud API PHP client library

image

ajdurant/acr-cloud

An ACRCloud API PHP client library

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

acr-cloud-php

Build Status, (*1)

About

URL: https://github.com/AJDurant/acr-cloud-php, (*2)

Author: AJDurant, (*3)

Usage

Install through composer., (*4)

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., (*5)

Build dependencies

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

So, you must install PHP5 on your system on your command line. Test it:, (*7)

php --help

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

npm install -g grunt-cli

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

grunt init

Then, you can install PhpDocumentor, PhpUnit and PhpCPD locally. Just run once:, (*10)

php composer.phar install -v

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

Build the sources

Once all your dependencies are installed, you can build your project with Grunt:, (*12)

grunt build

The build process will run the following tasks:, (*13)

  • 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, (*14)

Credits

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

This project uses the following as development dependencies:, (*16)

License

License, (*17)

The Versions

21/10 2015

dev-master

9999999-dev https://github.com/AJDurant/acr-cloud-php

An ACRCloud API PHP client library

  Sources   Download

ISC

The Requires

  • php >=5.4.0
  • ext-curl *
  • lib-curl *

 

The Development Requires

php

21/10 2015

v0.1.2

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

An ACRCloud API PHP client library

  Sources   Download

ISC

The Requires

  • php >=5.4.0
  • ext-curl *
  • lib-curl *

 

The Development Requires

php

21/10 2015

0.1.0

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

An ACRCloud API PHP client library

  Sources   Download

ISC

The Requires

 

The Development Requires

php