flysystem-dropbox
flysystem-dropbox copied to clipboard
Dependancy issue: Dropbox v1 API
This is mostly a heads-up so we can start thinking about a solution.
This adapter depends on the official Dropbox PHP SDK for v1 of the API. In June 2016 that API was deprecated in favour of the new v2 Dropbox API. v1 will be disabled end of June 2017.
Dropbox is not intending to update or replace the PHP SDK, so there's no immediately obvious upgrade path.
This adapter will stop working June 2017 unless a replacement interface with the Dropbox API is found or created.
is there any solution for Dropbox v2 API ?
@cihankusmez not really :(
kunalvarma05/dropbox-php-sdk looks like possible option for a replacement backend. If I get a chance (not sure when) I'll take a look to see what's involved in porting to it.
+1 I just received an email confirming that v1 will be deprecated soon.
@frankdejonge do you have a plan to support v2
@cihankusmez I would want to support an official SDK, I don't plan to maintain a Dropbox SDK.
@frankdejonge seem that there is no an official PHP SDK for Dropbox API v2 right now.
The answer is that we don't currently have plans for an official PHP SDK for Dropbox API v2.
answered on June 30, 2016 04:15
ref: https://www.dropboxforum.com/hc/en-us/community/posts/207429906-PHP-SDK-for-API-v2
Edit: @minkbear The link to their (Dropbox) libraries also states they'll be working on one, although no roadmap has been announced. Since they've pretty much got a year still (?) We can either use that unofficial one they linked in that thread or wait it out ...
possible v2 candidate: https://github.com/Alorel/dropbox-v2-php
@frankdejonge Now that we're just a few months shy of v1 retiring, what are your thoughts on using one of the community SDKs?
I would like to know the same thing.
@cihankusmez I think this is a great opportunity for the community to step in. A PR for a link and a docs entry can be submitted for more exposure.
i'm willing to help test anything that comes along
Hello, I have forked this repo and I am writing the adapter for dropbox v2 API at v2 Adapter using one of the community SDK's from Unofficial Dropbox SDK
Hey @frankdejonge I know that the adapter functions return array or boolean but I can not find in the documentation what keys should be returned on a successful array response, some of the keys that i found from reading the v1 code
- type
- timestamp
- path
- size
- mimetype
@Hemant-Mann the description can be found here: http://flysystem.thephpleague.com/creating-an-adapter/
We've created a flysystem adapter that uses v2 of the Dropbox API: https://github.com/spatie/flysystem-dropbox
It's fully functional, a stable release has been tagged.