enflow/nova-uploadcare-field

A Laravel Nova Uploadcare file upload field.

2.0.0 2022-09-15 16:14 UTC

This package is auto-updated.

Last update: 2024-10-15 20:41:33 UTC


README

An file field using the UploadCare API.

You can upload a file through drag-and-drop, url or Google Drive. The file is stored on Uploadcare and saved as an URL in the model.

Installing

composer require enflow/nova-uploadcare-field

Getting Started

Add Uploadcare Public Key to your config/services.php array

'uploadcare' => [
    'public_key' => 'XXXXX',
],

Register the field in the Nova resource:

use Enflow\NovaUploadcareField\Uploadcare;

Use the field:

Uploadcare::make('File')

Credits

Largely based on the package nova-uploadcare-imagefield, created by Adnan Chowdhury. Thanks Adnan!

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email michel@enflow.nl instead of using the issue tracker.

Credits

About Enflow

Enflow is a digital creative agency based in Alphen aan den Rijn, Netherlands. We specialize in developing web applications, mobile applications and websites. You can find more info on our website.

License

The MIT License (MIT). Please see License File for more information.