Download the PHP package saritasa/laravel-s3-uploads without Composer
On this page you can find all versions of the php package saritasa/laravel-s3-uploads. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download saritasa/laravel-s3-uploads
More information about saritasa/laravel-s3-uploads
Files in saritasa/laravel-s3-uploads
Package laravel-s3-uploads
Short Description laravel-s3-uploads
License MIT
Homepage https://github.com/Saritasa/php-laravel-s3-uploads
Informations about the package laravel-s3-uploads
laravel-s3-uploads
Laravel API for S3 uploads
Usage
Install the package:
Configure Your Storage::cloud()
disk for AWS S3 accroding to Laravel Manual
This package exposes POST <API_PREFIX>/uploads/tmp
route, using Dingo/Api router.
It accepts application/json
request in form:
and returns response with S3 PreSigned URLs as
- uploadUrl can be used with
PUT <uploadUrl>
on frontend to upload URL to S3 directly. - fileUrl is a presigned URL, that can be used to read this file on frontend after upload (supposing, that your S3 bucket has default policy to set 'private' ACL for new files).
Configuration
You can use config/media.php
to change default uploads path within bucket or presigned urls expiration timeouts.
Contributing
See Code of Conduct, if you want to make contribution (pull request) or just build and test project on your own.
Resources
- Changes History
- Bug Tracker
- Authors
All versions of laravel-s3-uploads with dependencies
illuminate/database Version ^5.4 || ^6.0
illuminate/http Version ^5.4 || ^6.0
illuminate/support Version ^5.4 || ^6.0
league/flysystem-aws-s3-v3 Version ^1.0
saritasa/dingo-api-custom Version ^2.2
saritasa/php-common Version ^1.1