Download the PHP package rootscratch/cloudstorage without Composer
On this page you can find all versions of the php package rootscratch/cloudstorage. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download rootscratch/cloudstorage
More information about rootscratch/cloudstorage
Files in rootscratch/cloudstorage
Download rootscratch/cloudstorage
More information about rootscratch/cloudstorage
Files in rootscratch/cloudstorage
Vendor rootscratch
Package cloudstorage
Short Description Cloudflare R2 Storage w/ aws-sdk-php
License MIT
Package cloudstorage
Short Description Cloudflare R2 Storage w/ aws-sdk-php
License MIT
Please rate this library. Is it a good library?
Informations about the package cloudstorage
Cloudflare R2 Storage PHP
This project allows users to upload/delete files to Cloudflare R2 storage using PHP and AWS SDK. It supports image, video, and document uploads with flexible validation.
Features
- Upload files to Cloudflare R2
- Supports multiple categories (image, video, docs, or a single file type)
- Delete files from Cloudflare R2
- Uses AWS S3 SDK for managing R2 storage
- Prevents invalid file uploads
Deployment
To deploy this via cloning this URL
Or Via Composer Package
Usage/Examples
Add your Cloudflare R2 credentials:
- Using Composer Package
Upload a File
✅ Success Response
❌ Error Response
Delete a File
To delete a file, use:
✅ Response
Valid File Categories
Category | Allowed Formats |
---|---|
image |
jpg, jpeg, png, gif, webp, svg |
video |
mp4, mov, avi, mkv |
docs |
pdf, docx, xlsx, txt |
archives |
zip, rar |
database |
sql |
Specific File pdf |
|
null |
All |
Base64Image to File
Cloudflare R2 Returning 403?
- Go to Cloudflare Dashboard → R2 Storage → Permissions
- Enable Public Read Access for the bucket.
All versions of cloudstorage with dependencies
PHP Build Version
Package Version
Requires
aws/aws-sdk-php Version
^3.339
The package rootscratch/cloudstorage contains the following files
Loading the files please wait ....