Laravel AWS S3 Service Integration to upload files.
Require this package with composer:
composer require dumpk/esetres
Add this variables to your .env with your Amazon credentials
Add the EsetresAWS class to your class header
The class is a singleton so you only need to call the static methods.
To upload a file:
EsetresAWS::uploadFile($filepath, $key, $bucket);
To delete a file:
To make a file accesible to everyone:
To check for a file existance:
If you want to get all the file information:
Optionally you can pass to the getObject method, a filepath to store the file on your server.
EsetresAWS::getObject($key, $bucket, "/var/www/filepath.txt");
The following support channels can be used for contact.
Bug reports, feature requests, and pull requests can be submitted following our Contribution Guide.
Will look at future enhancements down the road.
This software is released under the MIT License.
© 2015 Nicolás Bistolfi (firstname.lastname@example.org), All rights reserved.