xiaomlove/laravel-filesystem-cloudinary

a cloudinary filesystem for laravel

Installs: 50

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

pkg:composer/xiaomlove/laravel-filesystem-cloudinary

v0.1.0 2019-04-20 19:40 UTC

This package is auto-updated.

Last update: 2025-09-22 05:52:51 UTC


README

base on carlosocarvalho/flysystem-cloudinary

Configuration

...

'cloudinary' => [
    'driver' => 'cloudinary',
    'api_key' => env('CLOUDINARY_API_KEY'),
    'api_secret' => env('CLOUDINARY_API_SECRET'),
    'cloud_name' => env('CLOUDINARY_CLOUD_NAME'),
],

...

Usage

use Storage

// get fle url
Storage::url($path)

// get file url with options, options referance to: https://github.com/cloudinary/cloudinary_php#usage
Storage::getUrl($path, $options)