spatie/dropbox-api
Minimal PHP client for Dropbox API v2 by Spatie. Provides core endpoints used by their Flysystem Dropbox adapter—create folders, list directories, fetch temporary links, and more. Easy to install via Composer and use with an auth token.
TokenProvider interface aligns well with Laravel’s service container and dependency injection patterns.contentEndpointRequest and rpcEndpointRequest methods allow for custom API calls, enabling support for unsupported endpoints or future Dropbox API updates.TokenProvider interface can be bound to Laravel’s container, enabling dynamic token management (e.g., caching tokens, refreshing via jobs).spatie/flysystem-dropbox adapter suggests compatibility with Laravel’s filesystem abstraction, simplifying storage integration.league/oauth2-client as suggested).TokenProvider interface can be bound to a class implementing token refresh logic (e.g., using league/oauth2-client).spatie/flysystem-dropbox adapter can integrate with Laravel’s Storage facade for unified file handling.oauth_access_tokens table for OAuth2 tokens).composer require spatie/dropbox-api.TokenProvider binding in AppServiceProvider (if using custom token logic)..env (e.g., DROPBOX_ACCESS_TOKEN, DROPBOX_APP_KEY, DROPBOX_APP_SECRET).Client::upload(), Client::listFolder()).TokenProvider for dynamic token management (e.g., refresh tokens via Laravel jobs).spatie/flysystem-dropbox for filesystem abstraction.league/oauth2-client).spatie/dropbox-api to align with Dropbox API changes.league/oauth2-client).tap() or Guzzle middleware).spatie/laravel-rate-limiting).TokenProvider and Laravel jobs.to/conflict/file errors).autorename parameter or implement custom conflict resolution.dd()) for inspecting API responses.How can I help you explore Laravel packages today?