joshgallagher24
3 years ago

AWS S3 and filesystem

Posted 3 years ago by joshgallagher24

Is there any good tutorials on how to implement s3 on a laravel app. The docs lack information so I'm finding it hard to get it working. Could anyone share a step by step guide?

Edit:

  • im trying to creat a folder using this code:
Storage::disk('s3')->makeDirectory('users/' . $request->input('username'));

and imports

use Storage;
use League\Flysystem\Filesystem;
S3Exception in WrappedHttpHandler.php line 152:
Error executing "PutObject" on "https://s3.Oregon.amazonaws.com/s3.meeu.com/users/Joshedijjdied/"; AWS HTTP error: cURL error 6: Could not resolve host: s3.Oregon.amazonaws.com (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)

Please sign in or create an account to participate in this conversation.