laravel-dropbox

A Laravel package for working with Dropbox API v2.

OTHER License

Downloads
25.6K
Stars
24
Committers
3

Bot releases are hidden (Show)

laravel-dropbox - Add support for Laravel 11 Latest Release

Published by dcblogdev 7 months ago

laravel-dropbox - Add support for Laravel 10

Published by dcblogdev over 1 year ago

laravel-dropbox - added support for Laravel 9

Published by dcblogdev over 2 years ago

laravel-dropbox - added a move() method to the files() resource

Published by dcblogdev over 3 years ago

Move accepts 4 params:

  • $fromPath - provide the path for the existing folder/file
  • $toPath - provide the new path for the existing golder/file must start with a /
  • $autoRename - If there's a conflict, have the Dropbox server try to autorename the file to avoid the conflict. The default for this field is false.
  • $allowOwnershipTransfer - Allow moves by owner even if it would result in an ownership transfer for the content being moved. This does not apply to copies. The default for this field is false.
Dropbox::files()->move($fromPath, $toPath, $autoRename = false, $allowOwnershipTransfer = false);
laravel-dropbox - improved download, request a path, it will be downloaded.

Published by dcblogdev over 3 years ago

laravel-dropbox - Release of V3 - new methods and refresh tokens now supported

Published by dcblogdev over 3 years ago

This major release has some breaking changes additional columns added to the migration added:

  • refresh_token
  • scope

Changed expires_in to DATETIME type.

added new methods:

isConnected returns true when there is token data.

Dropbox::isConnected()

disconnect() disconnects from Dropbox and deleted the token then redirects to the path provided, defaults to /

Dropbox::disconnect($redirectPath = '/')

Added new config option,

Set access type, options are offline and online
* Offline - will return a short-lived access_token and a long-lived refresh_token that can be used to request a new short-lived access token as long as a user's approval remains valid.
* Online - will return a short-lived access_token

'accessType' => env('DROPBOX_ACCESS_TYPE', 'offline')

Added support for refresh tokens, now when a token is about to expire and there is a refresh token stored, a new access_token will be refreshed by using the refresh token this happens automatically when any request to Dropbox is attempted.

laravel-dropbox - added support for scopes to the config file

Published by dcblogdev over 3 years ago

laravel-dropbox - Improved upload method

Published by dcblogdev about 4 years ago

$path can be empty so set the desired folder structure for storing uploaded files.

laravel-dropbox - added support for Guzzle 7

Published by dcblogdev about 4 years ago

laravel-dropbox - added support for Laravel 8

Published by dcblogdev about 4 years ago

laravel-dropbox - Added support for Laravel 7

Published by dcblogdev over 4 years ago

laravel-dropbox - Vendor name change

Published by dcblogdev over 4 years ago

laravel-dropbox - Fixed 0 size upload

Published by dcblogdev over 4 years ago

Uploads now correctly uploads the contents of a file.

laravel-dropbox - added support for Laravel 6

Published by dcblogdev almost 5 years ago

laravel-dropbox - added landing url option

Published by dcblogdev over 5 years ago

laravel-dropbox - Initital Release

Published by dcblogdev over 5 years ago