Till now everything seems like a piece of cake as you’re getting your storage very cheaply plus Digital Ocean has very easy-to-follow tutorials with an extremely thriving community! No, things are not inch-perfect as they appear, this is a very new feature of DO, they are yet to roll out all their tutorials, community members have just started to get their hands dirty and their documentation only supports two languages- python and GO.

If you are a python or Go developer then it will seriously be a breeze, but there are very high chances that you’re a PHP developer as W3Techs have pointed out in their November 2017 article, “PHP is used by 82.9% of all the websites whose server-side programming language we know”.

This article will walk you through the process of storing your first file in the Spaces Bucket using PHP even if you don’t know how to write “Hello World!” in it or in any other language.

The trick is mentioned in the Digital Ocean’s official spaces documentation.

The Spaces API aims to be interoperable with Amazon’s AWS S3 API.

What does that mean? Hold on, it’s not rocket science. It simply means any existing PHP class or library which can interact with Amazon’s AWS will be compatible with Digital Ocean’s spaces API. So, now as we know where to start , follow along with me with these simple steps.

#Step1: Create your Space

Log-In to your Digital Ocean account and click the green Create button in the top-right corner. Then select Spaces from the drop-down menu.