Download the PHP package kanel/dropbox without Composer

On this page you can find all versions of the php package kanel/dropbox. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package dropbox

DropBox Api Client

End points are added one at the time, if you need one, shoot me an email or make a pull request, i'll be glad to add it or check your PR.

How it works

The client is the main DropBox API. It takes the access token as the only parameter

1. Upload

This call uploads a file from your disk to dropbox

If the file is <= 150Mb, it will be uploaded using this end point : https://www.dropbox.com/developers/documentation/http/documentation#files-upload

If the file is > 150Mb an upload session is automatically created using the following end points :

https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-start https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-append_v2 https://www.dropbox.com/developers/documentation/http/documentation#files-upload_session-finish

1.1 Basic upload

Note that if the dropBox folder path is not specified, it defaults to / (root of your application folder)

1.2 Upload with parameters

Dropbox offers some upload parameters you might want to use when uploading a file. You can use the UploadParameters class:

The parameters that can be edited from the parameters are all listed here : https://www.dropbox.com/developers/documentation/http/documentation#files-upload You can check the class Kanel\DropBox\Parameters\UploadParameters for more info too

One of the most important parameter here is $chunksSize This parameter allows you to change the size of chunks to upload when the file exceeds 150Mb.

If the file is > 150Mb the file will be split in chunks of $chunksSize and ech chunk uploaded using sessions

In this example, if the file is > 150Mb, it will be split in 10Mb chunks and each chunk uploaded separately.


All versions of dropbox with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
guzzlehttp/guzzle Version ^6.3
kanel/mapper Version ^1.1
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package kanel/dropbox contains the following files

Loading the files please wait ....