sparkapi / sparkapi4p2

A PHP wrapper for the flexmls REST API.
GNU General Public License v3.0
26 stars 28 forks source link

Added support for Composer installs/updates #23

Closed troydavisson closed 11 years ago

troydavisson commented 11 years ago

Added the configuration file needed for Composer (dependency manager for PHP) so that the PHP API client could be included in other projects using Composer.

By adding:

{
  "require": {
    "sparkapi/sparkapi": "dev-master"
  }
}

to a project's composer.json file and running php composer.phar update (or composer update if Composer is installed globally), the API client will be downloaded/updated and automatically included within the project with the latest code from the master branch.