A demo illustrating how to integrate Laravel with the AWS suite.
These services (segmented via URIs) are currently available to test:
Method | URI |
---|---|
POST |
aws/s3/upload |
POST |
aws/s3/download_bucket |
POST |
aws/rekognition/recognize_celebrities |
POST |
aws/et/transcode |
POST |
aws/et/transcode/subscriber |
- PHP 7.x
- SQLite 3.x
-
Bootstrap the project
composer create-project jpcaparas/laravel-aws-demo --prefer-dist touch database/database.sqlite php artisan migrate:refresh --seed
-
Run tests (somewhat non-existent for the meantime)
vendor/bin/phpunit
-
Populate the
.env
file with your AWS credentials. Sign up for AWS if you haven't done so already.
📘 👉 Ready to roll? Head on over to the wiki.
- Ngrok - A freemium service used to give your app a public-facing URL. This allows Amazon to send webhooks to your app.
- Postman - A free tool for testing API endpoints. Support sending multipart requests (e.g. file uploads).
A few commands issued throughout this demo are for *nix
systems (e.g. macOS, Ubuntu), so your mileage may vary if you're using Windows.
I am a product developer for Figured, Ltd, a cloud-based farm financial management software company disrupting the agriculture industry. We're headquartered at Victoria Street West, Auckland.
We leverage AWS as part of our development toolchain to offload complexity onto the cloud. This in turn makes us focus on building new features, leading to happy developers and a rapidly evolving product.