Laravel Nova icon Nova Packages
C

Cloudinary Field

Installation Instructions

composer require day4/cloudinary

Add to .env CLOUDINARY_CLOUD_NAME= CLOUDINARY_API_KEY=

Readme

Nova Cloudinary Field

Use to upload, browse and select resources from cloudinary.

The value stored contains the following settings: f_auto,c_limit,w_600, which you can replace with what ever settings you need when using the image.

Multiple images are seperated with ; so can be stored in a normal text field.

Setup

.env

CLOUDINARY_CLOUD_NAME=
CLOUDINARY_API_KEY=

And then in your config/nova.php file add:

'cloudinary_api_key' => env('CLOUDINARY_API_KEY'),
'cloudinary_cloud_name' => env('CLOUDINARY_CLOUD_NAME')

Usage

In Nova Resource:

use Day4\Cloudinary\Cloudinary;
    ···
    public function fields(Request $request)
    {
        return [
            ···
            Cloudinary::make( __('Banner'), 'banner'),
            Cloudinary::make( __('Images'), 'images')
                ->allowMultiple(true) // Select multiple
        ]
    }

Screenshots

Back to Top
Added 5 years ago
Last updated 5 Years Ago
Version 0.12.2
Composer
day4/cloudinary
GitHub stars 0
Packagist downloads 1,126

Favorites

1 user favorited

Rating

0.00
(out of 5)
★★★★★
★★★★
★★★
★★
0 ratings

Contributors

Tags

Brought to you by Tighten

Issues/Feature Requests Stats Package Ideas