Skip to content

Commit

Permalink
Tweak README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mbardelmeijer committed Dec 4, 2021
1 parent 7bf4297 commit aa69e36
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,31 @@ You can upload a file through drag-and-drop, url or Google Drive. The file is st

### Installing

~~~~
```bash
composer require enflow/nova-uploadcare-field
~~~~
```

### Getting Started

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

~~~~
```php
'uploadcare' => [
'public_key' => 'XXXXX',
],
~~~~
```

Register the field in the Nova resource:

~~~~
```php
use Enflow\NovaUploadcareField\Uploadcare;
~~~~
```

Use the field:

~~~~
```php
Uploadcare::make('File')
~~~~
```

## Credits
Largely based on the package [`nova-uploadcare-imagefield`](https://bitbucket.org/adnanchowdhury/nova-uploadcare-imagefield/), created by Adnan Chowdhury. Thanks Adnan!
Expand Down

0 comments on commit aa69e36

Please sign in to comment.