PHPackages                             demi/dropbox-backup - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. demi/dropbox-backup

ActiveYii2-extension[File &amp; Storage](/categories/file-storage)

demi/dropbox-backup
===================

Yii2 console command for making site backups and upload it to your dropbox account

2.0.0(5y ago)102.3k4GPL-3.0-or-laterPHPPHP &gt;=7.0.0

Since Aug 10Pushed 5y ago3 watchersCompare

[ Source](https://github.com/demisang/yii2-dropbox-backup)[ Packagist](https://packagist.org/packages/demi/dropbox-backup)[ Docs](https://github.com/demisang/yii2-dropbox-backup#readme)[ RSS](/packages/demi-dropbox-backup/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)DependenciesVersions (11)Used By (0)

Yii2-dropbox-backup
===================

[](#yii2-dropbox-backup)

Yii2 console command for making site backups and upload it to your dropbox account (Dropbox API v2).

Installation
------------

[](#installation)

Run

```
composer require "demi/dropbox-backup" "~2.0"

```

Configurations
==============

[](#configurations)

To get started, [configure backup component](https://github.com/demisang/yii2-backup#configurations) *(you do not need to install it)*.

Then [create new dropbox application](https://www.dropbox.com/developers/apps/create)and get dropbox **AppKey** and **AppSecret**.

Configure **/console/config/main.php**:

```
return [
    'controllerMap' => [
        'backup' => [
            'class' => 'demi\backup\dropbox\BackupController',
            // Name of \demi\backup\Component in Yii components.
            // Default Yii::$app->backup
            'backupComponent' => 'backup',
            // Dropbox app identifier
            'dropboxAppKey' => '65pwea8lqgbq5dm',
            // Dropbox app secret
            'dropboxAppSecret' => 'k2x0sl8a7wfj7h9',
            // Access token for user which will be get up backups.
            // To get this navigate to
            // https://www.dropbox.com/developers/apps/info/
            // and press OAuth 2: Generated access token button.
            'dropboxAccessToken' => 'kFflkUk7K3AAAAAAAAAAEh2tNeQbPbOX8Z11wk0rSdFfYMb5B5VX6kTvkcWz5N8R',
            // Path in the dropbox folder where would be saved backups
            'dropboxUploadPath' => '/',
            // If true: will be deleted files in the
            // dropbox when $expiryTime has come
            'autoDelete' => true,
            // Number of seconds after which the file is
            // considered deprecated and will be deleted.
            'expiryTime' => 30 * 86400, // 30 days
            // @see more options here [\console\controllers\BackupController]
        ],
    ],
];
```

Usage
=====

[](#usage)

Run console command:

```
php yii backup
```

It will generated current site backup(based on [backup component](https://github.com/demisang/yii2-backup#configurations)) and upload it to your dropbox account.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~199 days

Recently: every ~448 days

Total

10

Last Release

2135d ago

Major Versions

0.1.0 → 1.0.02015-08-10

1.0.7 → 2.0.02020-07-09

PHP version history (2 changes)0.1.0PHP &gt;=5.4.0

2.0.0PHP &gt;=7.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a0d6a9a7404fc232aad56e3a2f8d4d95c71614dc34da737fbf6a60a611050e7?d=identicon)[demi](/maintainers/demi)

---

Top Contributors

[![demisang](https://avatars.githubusercontent.com/u/600251?v=4)](https://github.com/demisang "demisang (29 commits)")

---

Tags

backupdumpuploadyii2syncdropbox

### Embed Badge

![Health badge](/badges/demi-dropbox-backup/health.svg)

```
[![Health](https://phpackages.com/badges/demi-dropbox-backup/health.svg)](https://phpackages.com/packages/demi-dropbox-backup)
```

###  Alternatives

[devgroup/yii2-dropzone

Yii2 Dropzone widget

1051.6k1](/packages/devgroup-yii2-dropzone)[liyunfang/yii2-upload-behavior

Upload behavior for Yii 2

161.7k](/packages/liyunfang-yii2-upload-behavior)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
