I created an easy to use API to help businesses do incredible things with AI.
Laravel Packages

Laravel Dropbox Driver package: how to install and use it

Benjamin Crozat
Modified on Dec 20, 2022 0 comments Edit on GitHub
Laravel Dropbox Driver package: how to install and use it

Adding a new disk in the storage is easy. The only things I did was:

Requirements

Laravel Dropbox Driver requires:

  • PHP 8.1+
  • Laravel 9+

Installation

To install Laravel Dropbox Driver, run the command below:

composer require benjamincrozat/laravel-dropbox-driver

Usage in your project

Add the following in app/filesystems.php:

'disks' => [

    'dropbox' => [
        'driver' => 'dropbox',
        'token'  => env('DROPBOX_TOKEN'),
    ],

],

Then, in your .env file:

DROPBOX_TOKEN=your_access_token

Get a token from Dropbox

Log in to your Dropbox account and create a new application to generate your access token.

https://www.dropbox.com/developers/apps/create

Apps creation on Dropbox.

License

Take this package and do whatever the f you want with it. That’s basically what the WTFPL license says.

Be the first to comment!

Get help or share something of value with other readers!

Great deals for enterprise developers
  • Summarize and talk to YouTube videos. Bypass ads, sponsors, chit-chat, and get to the point.
    Try Nobinge →
  • Monitor the health of your apps: downtimes, certificates, broken links, and more.
    20% off the first 3 months using the promo code CROZAT.
    Try Oh Dear for free
  • Keep the customers coming; monitor your Google rankings.
    30% off your first month using the promo code WELCOME30
    Try Wincher for free →
The latest community links
- / -