misterpaladin / dropbox-v2
Library for Dropbox v2 API
Installs: 17
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
pkg:composer/misterpaladin/dropbox-v2
Requires
- php: >=5.4.0
- guzzlehttp/guzzle: 5.3.1
- nesbot/carbon: 1.22.1
This package is auto-updated.
Last update: 2025-10-13 14:14:18 UTC
README
- \MisterPaladin\Dropbox\App
- \MisterPaladin\Dropbox\Endpoints\EndpointGroup (abstract)
- \MisterPaladin\Dropbox\Endpoints\Files
- \MisterPaladin\Dropbox\Endpoints\Users
- \MisterPaladin\Dropbox\Exceptions\DropboxAPIException
- \MisterPaladin\Dropbox\Exceptions\DropboxAppException
- \MisterPaladin\Dropbox\Types\Account
- \MisterPaladin\Dropbox\Types\DeletedMetadata
- \MisterPaladin\Dropbox\Types\DropboxType
- \MisterPaladin\Dropbox\Types\FileMetadata
- \MisterPaladin\Dropbox\Types\FolderMetadata
- \MisterPaladin\Dropbox\Types\SpaceUsage
- \MisterPaladin\Dropbox\Types\TemporaryLink
Class: \MisterPaladin\Dropbox\App
| Visibility | Function |
|---|---|
| public | __construct(string $accessToken) : void Add endpoints instances |
| public | __get(string $key) : mixed Access to static properties |
Class: \MisterPaladin\Dropbox\Endpoints\EndpointGroup (abstract)
| Visibility | Function |
|---|---|
| public | __construct(mixed $app) : void Create new endpoints instance |
| protected | contentDownloadRequest(mixed $method, mixed $path, array $parameters=array()) : void |
| protected | rcpRequest(string $method, string $path, array $parameters=array()) : mixed Create and send request |
Class: \MisterPaladin\Dropbox\Endpoints\Files
| Visibility | Function |
|---|---|
| public | copy(array $parameters) : object Copy a file or folder to a different location in the user's Dropbox. If the source path is a folder all its contents will be copied. |
| public | createFolder(array $parameters) : object Create a folder at a given path. |
| public | delete(array $parameters) : object Delete the file or folder at a given path. If the path is a folder, all its contents will be deleted too. A successful response indicates that the file or folder was deleted. The returned metadata will be the corresponding FileMetadata or FolderMetadata for the item at time of deletion, and not a DeletedMetadata object. |
| public | download(array $parameters) : void Download a file from a user's Dropbox. |
| public | getMetadata(array $parameters=array()) : object Returns the metadata for a file or folder. Note: Metadata for the root folder is unsupported. |
| public | getTemporaryLink(array $parameters) : object Get a temporary link to stream content of a file. This link will expire in four hours and afterwards you will get 410 Gone. Content-Type of the link is determined automatically by the file's mime type. |
| protected | meta(object $data) : object Make meta object |
This class extends \MisterPaladin\Dropbox\Endpoints\EndpointGroup
Class: \MisterPaladin\Dropbox\Endpoints\Users
| Visibility | Function |
|---|---|
| public | getCurrentAccount() : object Get information about the current user's account. |
| public | getSpaceUsage() : mixed |
This class extends \MisterPaladin\Dropbox\Endpoints\EndpointGroup
Class: \MisterPaladin\Dropbox\Exceptions\DropboxAPIException
| Visibility | Function |
|---|
This class extends \Exception
This class implements \Throwable
Class: \MisterPaladin\Dropbox\Exceptions\DropboxAppException
| Visibility | Function |
|---|
This class extends \Exception
This class implements \Throwable
Class: \MisterPaladin\Dropbox\Types\Account
| Visibility | Function |
|---|
This class extends \MisterPaladin\Dropbox\Types\DropboxType
Class: \MisterPaladin\Dropbox\Types\DeletedMetadata
| Visibility | Function |
|---|
This class extends \MisterPaladin\Dropbox\Types\DropboxType
Class: \MisterPaladin\Dropbox\Types\DropboxType
| Visibility | Function |
|---|---|
| public | __construct(mixed $attributes) : void |
Class: \MisterPaladin\Dropbox\Types\FileMetadata
| Visibility | Function |
|---|
This class extends \MisterPaladin\Dropbox\Types\DropboxType
Class: \MisterPaladin\Dropbox\Types\FolderMetadata
| Visibility | Function |
|---|
This class extends \MisterPaladin\Dropbox\Types\DropboxType
Class: \MisterPaladin\Dropbox\Types\SpaceUsage
| Visibility | Function |
|---|
This class extends \MisterPaladin\Dropbox\Types\DropboxType
Class: \MisterPaladin\Dropbox\Types\TemporaryLink
| Visibility | Function |
|---|
This class extends \MisterPaladin\Dropbox\Types\DropboxType