By neerajvv
I am panning to use spaces as my image storage system. Is there any API available for the spaces thats compatible with PHP project. Is there any good example for doing this.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
I submitted an answer with the aws api (unfortunately 25MB+ code) [there] but look the bright side: you might integrate with dropbox or google cloud!
Hi,
If you have CURL you might want to check out this class https://github.com/tpyo/amazon-s3-php-class.
Just be sure to replace all references to ‘s3.amazonaws.com’ in the class with your DO Spaces endpoint.
I’m looking for a simpler approach, or more one that doesn’t require me to install the beast known as the AWS SDK (that thing is huge), plus I’d like to not use guzzler (again super heavy) and use symfony’s lighter HTTP client.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.