Skip to content

cloudinary-devs/php_upload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PHP Cloudinary Upload Script

This script uploads images to Cloudinary using the PHP SDK.

Setup Instructions

1. Install Dependencies

composer install

2. Configure Cloudinary

  1. Change the env_template file to .env and replace the placeholders with your actual Cloudinary URL:

    CLOUDINARY_URL=cloudinary://your_api_key:your_api_secret@your_cloud_name
    

    You can find your credentials in the API Keys page of the Console Settings.

Features

  • Uploads multiple local images to Cloudinary
  • Uploads a remote image from GitHub
  • Displays secure URLs for uploaded images
  • Error handling for failed uploads
  • Pretty JSON output for debugging

Requirements

  • PHP 7.4 or higher
  • Composer
  • Cloudinary account
  • Internet connection

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages