Skip to content

Add composer.json #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jan 12, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ Read the comments in `NutshellApi.php` for additional information about the clas

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).

## Composer

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.

## Additional Reading

* On API keys and permissions: [Authentication](http://www.nutshell.com/api/authentication.html)
Expand Down
11 changes: 11 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "nutshellcrm/nutshell-api",
"description": "A PHP library for the Nutshell API",
"keywords": ["nutshell","crm"],
"license": "MIT",
"autoload": {
"files": [
"NutshellApi.php"
]
}
}