Whats the best way to use digital ocean spaces upload API with a PHP project ?

Posted October 8, 2018 5.5k views
Ubuntu PHP API

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.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

3 answers

This PHP API does what you need and is straight forward to use:

Hi, Did you use it? (SociallyDev/Spaces-API)

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.

Submit an Answer