Skip to content

Commit 727db06

Browse files
committed
Merge pull request #6 from nutshellcrm/composer
Add composer.json
2 parents 03f0f17 + bd49287 commit 727db06

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ Read the comments in `NutshellApi.php` for additional information about the clas
2020

2121
The `NutshellApi` class provides synchronous (blocking) API calls. It is possible to write an API class which provides asynchronous calls using the `id` field specified in [JSON-RPC](http://groups.google.com/group/json-rpc/web/json-rpc-2-0).
2222

23+
## Composer
24+
25+
Thanks to the community [for nudging us to make this code compatible with Composer](https://github.com/nutshellcrm/nutshell-api-php/pull/5). While it's not meant to be a fully-supported SDK, you can use [composer](https://getcomposer.org/) to quickly add this project to your own.
26+
2327
## Additional Reading
2428

2529
* On API keys and permissions: [Authentication](http://www.nutshell.com/api/authentication.html)

composer.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"name": "nutshellcrm/nutshell-api",
3+
"description": "A PHP library for the Nutshell API",
4+
"keywords": ["nutshell","crm"],
5+
"license": "MIT",
6+
"autoload": {
7+
"files": [
8+
"NutshellApi.php"
9+
]
10+
}
11+
}

0 commit comments

Comments
 (0)