cloudinary laravel tutorial code example

Example: cloudinary laravel

composer require cloudinary-labs/cloudinary-laravel
php artisan vendor:publish --provider="CloudinaryLabs\CloudinaryLaravel\CloudinaryServiceProvider" --tag="cloudinary-laravel-config"
 #Open your .env file and add your API Environment variable, upload_preset (this is optional, until you need to use the widget) like so:
//CLOUDINARY_URL=xxxxxxxxxxxxx
//CLOUDINARY_UPLOAD_PRESET=xxxxxxxxxxxxx
//CLOUDINARY_NOTIFICATION_URL=

Tags:

Php Example