I am working laravel api application and I have to upload a base64 encoded image to AWS S3 bucket.
I can directly upload an image by
$this->request->imageInput->store('public');//in local server
Storage::disk('s3')->put('FILENAME', file_get_contents('imageInput'));//in S3 server
How can I upload the base64 encoded image to AWS S3 bucket and also get the response where we can get Image Information?