title: How to create folder(if not exist) in dropbox accout using php-api?
body: <p>am trying to learn dropbox php-api.
  i have done upload, but unable to create a new folder(if not exist) in dropbox account</p>
  
  <p><strong>code snippet :</strong></p>
  
  <pre><code>// Create new directory
  $create_new_folder = $dropbox-&gt;createFolder('new_folder','dropbox');
  
  // Create a temporary file and write some data to it
  $tmp = tempnam('/tmp', 'dropbox');
  $data = 'This file was uploaded using the Dropbox API!';
  file_put_contents($tmp, $data);
  
  // Upload the file with an alternative filename
  $put = $dropbox-&gt;putFile($tmp, 'abc.txt');
  
  // Unlink the temporary file
  unlink($tmp);
  
  // Dump the output
  var_dump($put);
  </code></pre>
  
  <p><strong>error:</strong></p>
  
  <p>Call to undefined method Dropbox\API::createFolder() in C:\wamp\www\BenTheDesigner-Dropbox-b49576c\examples\putFile.php on line 18</p>