Skip to content
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

Add composer support for external usages #20

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
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
18 changes: 18 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "netatmo/netatmo-api",
"type": "library",
"description": "Netatmo API client implementation - PHP SDK",
"keywords" : ["netatmo", "api", "sdk"],
"homepage" : "https://dev.netatmo.com/",
"license": "MIT",
"minimum-stability": "stable",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can omit this property as this package does not have any dependency and the minimum-stability is only read from root packages (i.e packages that will require netatmo/netatmo-api)

"require": {},
"autoload": {
"files": ["src/Netatmo/autoload.php"]
},
"extra": {
"branch-alias": {
"dev-master": "2.x-dev"
}
}
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EOL