Today I’m happy to announce a new open source project from Sitening.
PHP-AWS is a collection of PHP classes that let you tap into the power of Amazon’s Web Services platform. This is the same codebase we used to build Basejumpr. It lets us offer our users unlimited storage space and run as many servers as we need in the cloud.
PHP-AWS is hosted in Google Code and released under the MIT License, which means you’re free to use this code in any way you wish. However, we do ask that you contribute back any improvements you make so the community can benefit from them.
Currently, the project contains support for:
- Simple Storage Service (S3)
- Elastic Compute Cloud (EC2)
- Simple Queue Service (SQS)
- Mechanical Turk (MTurk)
By no means is our code perfect. There’s plenty of room for improvement. However, we’ve been using it for nearly three months without any major issues and consider it stable for release.
When we first began work on Basejumpr, I looked around the net and found a lot of example code using S3. Perl, Ruby, Python, and PHP libraries aplenty. Unfortunately, most of the code was incomplete, poorly designed, or died (due to memory issues) when uploading/downloading large files.
Since working with big files was a must for us, this meant we’d have to build the code ourselves. We’re pleased with the results. And we hope you’ll be, too.