Cloud Upload Plugin
Plugin to handle upload of media files to Google Cloud Storage
by Javier Cáder Suay · github.com/hexcss/wordpress-cloud-upload-plugin
★ 2stars
652composer installs
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/hexcss/wordpress-cloud-upload-plugin/archive/refs/heads/master.zipAlso on Packagist as hexcss/wp-cloud-upload:
composer require hexcss/wp-cloud-uploadFrom the readme
Cloud Upload Plugin
Version: 1.0.0
Author: Javier Cáder Suay
Overview
The Cloud Upload Plugin allows you to seamlessly upload WordPress media files to Google Cloud Storage, eliminating the need for local storage. This plugin automatically uploads files to a specified Google Cloud Storage bucket, organizes them by year and month, and replaces the local file URLs with public URLs from Google Cloud. Additionally, when media files are deleted from the WordPress media library, they are also removed from Google Cloud Storage.
Features
- Uploads media files to Google Cloud Storage.
- Organizes uploaded files in a year/month directory structure within the bucket.
- Replaces local file URLs with public URLs from Google Cloud Storage.
- Automatically deletes media files from Google Cloud Storage when removed from WordPress.
Requirements
- WordPress 5.0 or higher
- PHP 7.4 or higher
- Google Cloud Platform (GCP) account
- Google Cloud Storage bucket with Uniform Bucket-Level Access enabled
Installation
1. Clone the Repository:
2. Navigate to the Plugin Directory:
3. Install Composer Dependencies:
Ensure you have Composer installed on your system. Then, run:
4. Ac