idlDropboxPlugin - 1.0.1

Provide Dropbox functionalities to Symfony projects

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Signin


Forgot your password?
Create an account

Tools

Stats

advanced search
Information Readme Releases Changelog Contribute
Show source

idlDropbox plugin

The idlDropboxPlugin adds Dropbox features to Symfony project .

Summary of Features

The following features are currently available:

  • retrieve account information
  • upload file
  • create directories

More features will come later.

Installation

  • Open a user account on Dropbox
  • Register as developper with the new account to get the consumer_key and consumer_secret
  • Install the plugin
  • Enable Plugin (Only for Symfony 1.2 and above)
  • Modify app.yml file to add Dropbox authentication info

    all:
        ...
        dropbox:
          consumer_key:               myconsumerkey
          consumer_secret:            myconsumersecret
          user:                       user@mail.com
          password:                   mypassword
          oauth_lib:                  PHP              #The OAuth library to use. Can be PHP standard lib or Pear(optional, by default PHP)

Usage

This plugin provide a idlDropbox class you can use in you project (see inline documentation) and add also Symfony tasks.

Task usage example:

  php symfony dropbox:upload --source=C:/myfile.pdf --target=test/myfile.pdf
  php symfony dropbox:account-info

TODO

  • Complete with the others API features like file download
  • Contact me for any other requirements/ideas

CREDITS