📅  最后修改于: 2022-03-11 14:53:46.126000             🧑  作者: Mango
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=