![]() ![]() ![]() TokenProvider->getToken(): string method. Which will provide the access-token from its Or alternatively you can implement Spatie\Dropbox\TokenProvider $client = new Spatie\ Dropbox\ Client( $authorizationToken) With an authorization token you can instantiate a Spatie\Dropbox\Client. You'll find more info at the Dropbox Developer Blog. You can just generate a token in the App Console for any Dropbox API app. Unlike other companies Dropbox has made this very easy. The first thing you need to do is get an authorization token at Dropbox. You can install the package via composer: composer require spatie/dropbox-api Usage We publish all received postcards on our virtual postcard wall. You'll find our address on our contact page. We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You can support us by buying one of our paid products. We invest a lot of resources into creating best in class open source packages. get a temporary link $client-> getTemporaryLink( $path) Support us list a folder $client-> listFolder( $path) create a folder $client-> createFolder( $path) Here are a few examples on how you can use the package: $client = new Spatie\ Dropbox\ Client( $authorizationToken) We are open however to PRs that add extra methods to the client. ![]() It contains only the methods needed for our flysystem-dropbox adapter. This is a minimal PHP implementation of the Dropbox API v2. A minimal implementation of Dropbox API v2 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |