In PHP version 8.1 and above the S3 upload functionality was found to be breaking. Here as the fix:
echo of $class object was no longer supported in higher versions of PHP. So, encoding of the configuration having the hashes for S3 file upload is done.
A increase in the version number for pushing the package to packagist.
In PHP version 8.1 and above the S3 upload functionality was found to be breaking. Here as the fix: