Skip to content

Commit

Permalink
update README.md about composer and phar
Browse files Browse the repository at this point in the history
  • Loading branch information
josiasmontag committed Mar 8, 2015
1 parent 929cca8 commit 3ea5c0a
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Add the repository in your **composer.json** file or, if you don't already have
"name": "Example Application",
"description": "This is an example",
"require": {
"cloudconvert/cloudconvert-php": "master"
"cloudconvert/cloudconvert-php": "dev-master"
}
}

Expand All @@ -53,7 +53,18 @@ Then, you can install CloudConvert APIs wrapper and dependencies with:

This will install ``cloudconvert/cloudconvert-php`` to ``./vendor``, along with other dependencies including ``autoload.php``.

Install with Phar
-------------------
If you don't want to use composer, you can download the .phar release from the "Releases" tab on GitHub.

```php
<?php
require 'cloudconvert-php.phar';
use \CloudConvert\Api;
$api = new Api("your_api_key");

//...
```

Using with Callback
-------------------
Expand Down

0 comments on commit 3ea5c0a

Please sign in to comment.