This repository contains PHP code that can be used as an example for connecting your PHP app to StackMob. StackMob does not officially support a PHP SDK, but we are providing this code to anyone who wants to use it as a starting point for their PHP app. If you find this code useful, please feel free to fork it and adapt it to your own needs. And if you'd like to contribute your changes back, please submit a pull request.
When moving from development to production, be sure to update your API Keys from development to production. Your API keys are located in the StackMob Dashboard at https://dashboard.stackmob.com/settings
You will also need to update the API version from "0" to "1" in your request header.
'Content-Type: application/vnd.stackmob+json; version=0'
We would like this code to be functional with the StackMob API, but as we currently don't officially support it, we may be unable to fix bugs quickly. If you encounter a bug, we encourage you to either file an issue here and/or fork this repository, fix the bug, and submit a pull request with the fix.
We encourage contributions to this code. If you'd like to contribute, fork this repository and make your changes. Before you submit a pull request to us with your changes, though, please make sure that you test it against live StackMob servers.
Copyright 2011 StackMob
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.