PHPackages                             bszalai/dropboxupload - 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. bszalai/dropboxupload

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

bszalai/dropboxupload
=====================

Upload database dumps to Dropbox

1.0(12y ago)022MITPHPPHP &gt;=5.3.0

Since Apr 16Pushed 9y ago1 watchersCompare

[ Source](https://github.com/subdesign/dropboxupload)[ Packagist](https://packagist.org/packages/bszalai/dropboxupload)[ RSS](/packages/bszalai-dropboxupload/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

> ## NOTE!
>
> [](#note)
>
> Please use this package for Laravel 5 and up:

Database dump Dropbox upload
============================

[](#database-dump-dropbox-upload)

Dropbox upload is a Laravel 4 package, which uploads a previously dumped database file to a Dropbox account. The database backup is made by the package [schickling/backup](https://github.com/schickling/laravel-backup). Thanks Johannes!

The big advantage of this package is that it doesn't ask you to enter any input, because uses a permanent token key, your uploads will happen in the background..

Usage
-----

[](#usage)

### Generate a permanent token for the package

[](#generate-a-permanent-token-for-the-package)

- Go to  and generate api keys.
- Install Dropboxupload

    `composer require bszalai/dropboxupload:dev-master`
- Create a file **keys.json** and fill it with your keys

```
{
   	"key" : "Dropbox app key",
   	"secret": "Dropbox app secret"
}

```

- Copy this file into the Dropbox package's **examples** folder (*vendor/dropbox/dropbox-sdk/examples*).
- Open a terminal, go to the above folder and enter

    `php authorize.php keys.json token.json`
- Click on the url in the terminal, it'll open a browser window, *Allow* the app to access your folder, and copy the provided key (you have to log in to Dropbox if you aren't logged in)
- Go back to terminal, and paste the above key, and press Enter.
- You'll have a **token.json** file created.
- Copy this file into the **app/storage** folder. You are done.

### Using the package

[](#using-the-package)

- Edit your `app.php` in the **app/config** folder, and add the following lines to the service providers

    `Schickling\Backup\BackupServiceProvider`,
    `Bszalai\Dropboxupload\DropboxuploadServiceProvider`
- Publish the package config file

    `php artisan config:publish bszalai/dropboxupload`
- Edit the config file (*app/config/packages/bszalai/dropboxupload/config.php*), you have several options

    - prefix - name-prefix of the source file
    - uploadfolder - where to upload the file
    - compress - if set to true, it'll create a zip file
    - encrypt - encrypt the source file, set the encryption key so you can decrypt your file later
- Create a CRON job for the Backup package

```
Example:

/usr/local/bin/php53 /path/to/your/app/artisan db:backup

```

- Create another CRON job for the Dropbox upload, set the run time after the backup surely finished

```
Example:

/usr/local/bin/php53 /path/to/your/app/artisan dropbox:upload

```

### License

[](#license)

Dropboxbackup is under [MIT License](http://opensource.org/licenses/MIT)

### Copyright

[](#copyright)

© 2014 [Barna Szalai](mailto:szalai.b@gmail.com)

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

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

Unknown

Total

1

Last Release

4458d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/181743840?v=4)[Bence Szalai](/maintainers/bszalai)[@bszalai](https://github.com/bszalai)

---

Tags

laraveldropbox

### Embed Badge

![Health badge](/badges/bszalai-dropboxupload/health.svg)

```
[![Health](https://phpackages.com/badges/bszalai-dropboxupload/health.svg)](https://phpackages.com/packages/bszalai-dropboxupload)
```

###  Alternatives

[unisharp/laravel-filemanager

A file upload/editor intended for use with Laravel 5 to 10 and CKEditor / TinyMCE

2.1k3.4M81](/packages/unisharp-laravel-filemanager)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[dcblogdev/laravel-dropbox

A Laravel Dropbox v2 package

3268.0k](/packages/dcblogdev-laravel-dropbox)[outerweb/image-library

Store and link files to your models

1113.8k3](/packages/outerweb-image-library)

PHPackages © 2026

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