panchania83/laravel-nova-3-uploadcare-multiple-images

A Laravel Nova uploadcare multiple images field.

dev-main 2024-11-18 07:13 UTC

This package is auto-updated.

Last update: 2024-12-18 07:21:36 UTC


README

An image field using the UploadCare API.

This is a vue-wrapper around uploadcare-vue (https://github.com/tipeio/uploadcare-vue).

You can upload an image through drag-and-drop, url or google drive. The image is stored on Uploadcare and saved as a url in the model.

Screenshots

image1 image2 image3

Installing

composer require panchania83/uploadcare-image

Getting Started

To publish the config file to config/uploadcare.php, run:

php artisan vendor:publish --provider="panchania83\UploadcareImage\FieldServiceProvider" 

Add Uploadcare Public Key to .env:

UPLOADCARE_PUBLIC_KEY=yourpublickey

Register the field in the Nova resource:

use panchania83\UploadcareImage\UploadcareImage;

Use the field:

UploadcareImage::make('Image')

Authors

  • Adnan Chowdhury

License

This project is licensed under the MIT License - see the LICENSE.md file for details