Skip to content

Instantly share code, notes, and snippets.

@jokamjohn
Last active January 12, 2016 20:45
Show Gist options
  • Select an option

  • Save jokamjohn/0542369031c0c0a324d4 to your computer and use it in GitHub Desktop.

Select an option

Save jokamjohn/0542369031c0c0a324d4 to your computer and use it in GitHub Desktop.
Setting up parse for PhP
1. Install composer
2. Require the parse Sdk
3. Create an Application and auto load.
4. Create the app folder where all the class files are going to reside
"autoload": {
"psr-0": {
"app": ""
},
"files": [
"Application.php"
]
}
5. Go to ParseClient.php and look for curl.init() and add the following line of
code below it:
curl_setopt($rest, CURLOPT_SSL_VERIFYPEER, false);
6. then you are good to go.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment