@@ -227,50 +227,44 @@ A configuration-file named `cloudinary.php` with some sensible defaults will be
227227``` php
228228<?php
229229return [
230- 'notification_url' => env('CLOUDINARY_NOTIFICATION_URL', ''),
231-
232- 'account_details' => [
233-
234- 'account' => [
235- /**
236- * Cloud Name From Cloudinary Dashboard
237- *
238- */
239- 'cloud_name' => env('CLOUDINARY_CLOUD_NAME'),
240-
241- /**
242- * API Key From Cloudinary Dashboard
243- *
244- */
245- 'api_key' => env('CLOUDINARY_API_KEY'),
246-
247- /**
248- * API Secret From Cloudinary Dashboard
249- *
250- */
251- 'api_secret' => env('CLOUDINARY_API_SECRET'),
252-
253- /**
254- * Upload Preset From Cloudinary Dashboard
255- *
256- */
257- 'upload_preset' => env('CLOUDINARY_UPLOAD_PRESET')
258- ],
259-
260- 'url' => [
261- 'secure' => true
262- ]
263- ]
230+ /*
231+ |--------------------------------------------------------------------------
232+ | Cloudinary Configuration
233+ |--------------------------------------------------------------------------
234+ |
235+ | An HTTP or HTTPS URL to notify your application (a webhook) when the process of uploads, deletes, and any API
236+ | that accepts notification_url has completed.
237+ |
238+ |
239+ */
240+ 'notification_url' => env('CLOUDINARY_NOTIFICATION_URL'),
241+
242+
243+ /*
244+ |--------------------------------------------------------------------------
245+ | Cloudinary Configuration
246+ |--------------------------------------------------------------------------
247+ |
248+ | Here you may configure your Cloudinary settings. Cloudinary is a cloud hosted
249+ | media management service for all file uploads, storage, delivery and transformation needs.
250+ |
251+ |
252+ */
253+ 'cloud_url' => env('CLOUDINARY_CLOUD_URL'),
254+
255+ /**
256+ * Upload Preset From Cloudinary Dashboard
257+ *
258+ */
259+ 'upload_preset' => env('CLOUDINARY_UPLOAD_PRESET')
264260];
265261```
266262
267263### API Keys
268- Open your .env file and add your Cloudinary cloud name, api key, api secret, and upload preset like so:
264+ Open your ` .env ` file and add your API Environment variable, upload_preset (this is optional, until you need to use the widget) like so:
269265
270266``` php
271- CLOUDINARY_CLOUD_NAME=xxxxxxxxxxxxx
272- CLOUDINARY_API_KEY=xxxxxxxxxxxxx
273- CLOUDINARY_API_SECRET=xxxxxxxxxxxxx
267+ CLOUDINARY_CLOUD_URL=xxxxxxxxxxxxx
274268CLOUDINARY_UPLOAD_PRESET=xxxxxxxxxxxxx
275269CLOUDINARY_NOTIFICATION_URL=
276270```
0 commit comments