Skip to content

codex-m/Dropbox-v2-PHP-SDK

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dropbox-v2-PHP-SDK

PHP SDK for Dropbox built with the v2 API

Last update: 2/23/2018

Installation

  • Run composer require lukebaird/dropbox-v2-php-sdk in your project root

Additional info

Documentation

Version 1.1.7

  • Added option to files->upload() and files->download() to upload/download raw data respectively.
  • Please see sdk/Dropbox/Files.php for usage.

Bolded items will not be implemented.

auth

  • /token/from_oauth1
  • /token/revoke

file_properties

  • /properties/add
  • /properties/overwrite
  • /properties/remove
  • /properties/search
  • /properties/update
  • /templates/add_for_user
  • /templates/get_for_user
  • /templates/list_for_user
  • /templates/update_for_user

file_requests

  • /create
  • /get
  • /list
  • /update

files

  • /alpha/get_metadata PREVIEW
  • /alpha/upload PREVIEW
  • /copy DEPRECATED BY /copy_v2
  • /copy_batch
  • /copy_batch/check
  • /copy_reference/get
  • /copy_reference/save
  • /copy_v2
  • /create_folder DEPRECATED BY /create_folder_v2
  • /create_folder_v2
  • /delete DEPRECATED BY /delete_v2
  • /delete_batch
  • /delete_batch/check
  • /delete_v2
  • /download
  • /get_metadata
  • /get_preview
  • /get_temporary_link
  • /get_thumbnail
  • /list_folder
  • /list_folder/continue
  • /list_folder/get_latest_cursor
  • /list_folder/longpoll
  • /list_revisions
  • /move DEPRECATED BY /move_v2
  • /move_batch
  • /move_batch/check
  • /move_v2
  • /permanently_delete
  • /properties/add PREVIEW
  • /properties/overwrite PREVIEW
  • /properties/remove PREVIEW
  • /properties/template/get PREVIEW
  • /properties/update PREVIEW
  • /restore
  • /save_url
  • /save_url/check_job_status
  • /search
  • /upload
  • /upload_session/append DEPRECATED BY /upload_session/append_v2
  • /upload_session/append_v2
  • /upload_session/finish
  • /upload_session/finish_batch
  • /upload_session/finish_batch/check
  • /upload_session/start

paper

  • /docs/archive
  • /docs/create
  • /docs/download
  • /docs/folder_users/list
  • /docs/folder_users/list/continue
  • /docs/get_folder_info
  • /docs/list
  • /docs/list/continue
  • /docs/permanently_delete
  • /docs/sharing_policy/get
  • /docs/sharing_policy/set
  • /docs/users/add
  • /docs/users/list
  • /docs/users/list/continue
  • /docs/users/remove

sharing

  • /add_file_member
  • /add_folder_member
  • /change_file_member_access DEPRECATED BY /update_file_member
  • /check_job_status
  • /check_remove_member_job_status
  • /check_share_job_status
  • /create_shared_link DEPRECATED BY /create_shared_link_with_settings
  • /create_shared_link_with_settings
  • /get_file_metadata
  • /get_file_metadata/batch
  • /get_folder_metadata
  • /get_shared_link_file
  • /get_shared_link_metadata
  • /get_shared_links DEPRECATED BY /list_shared_links
  • /list_file_members
  • /list_file_members/batch
  • /list_file_members/continue
  • /list_folder_members
  • /list_folder_members/continue
  • /list_folders
  • /list_folders/continue
  • /list_mountable_folders
  • /list_mountable_folders/continue
  • /list_received_files
  • /list_received_files/continue
  • /list_shared_links
  • /modify_shared_link_settings
  • /mount_folder
  • /relinquish_file_membership
  • /relinquish_folder_membership
  • /remove_file_member DEPRECATED BY /remove_file_member_2
  • /remove_file_member_2
  • /remove_folder_member
  • /revoke_shared_link
  • /share_folder
  • /transfer_folder
  • /unmount_folder
  • /unshare_file
  • /unshare_folder
  • /update_file_member
  • /update_folder_member
  • /update_folder_policy

users

  • /get_account
  • /get_account_batch
  • /get_current_account
  • /get_space_usage

Additional Functions

Dropbox/Files->getThumbnailSize($size)

Converts standard thumbnail sizes into pixel values usable by Dropbox functions, i.e. 'thumb' => 'w32h32'

Troubleshooting

Local Machine SSL Certificate Issues

Dropbox requires that you have a valid SSL certificate. If you are facing an issue where the SDK is always returning null or false, this could be the issue. Try following the solution to this StackOverflow question.

About

PHP SDK for Dropbox built with the v2 API

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%