This is a demo project to show how to upload files to S3 via PHP.
- Make sure you have
docker
,docker-compose
, andngrok
installed. - Checkout the repo and run
composer install
. - Copy
env.dist
to.env
and put your credentials and bucket in it. - Run
ngrok http 9999
. Copy the ngrok URL for the app intoAPP_HOST
in.env
. - Run
docker-compose up
. - Go to http://localhost:9999 in browser, or the ngrok URL.