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.
composer require enflow/nova-uploadcare-field
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')
Largely based on the package nova-uploadcare-imagefield
, created by Adnan Chowdhury. Thanks Adnan!
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
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.
The MIT License (MIT). Please see License File for more information.