Download the PHP package sudippalash/mediauploader without Composer
On this page you can find all versions of the php package sudippalash/mediauploader. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sudippalash/mediauploader
More information about sudippalash/mediauploader
Files in sudippalash/mediauploader
Package mediauploader
Short Description Laravel package for Media Uploader
License MIT
Informations about the package mediauploader
Media Uploader
mediauploader
is a simple file-handling package for Laravel
that provides various options for managing files, including image uploads, file uploads, WebP uploads, base64 image uploads, image uploads from URLs, and Google image content uploads. The package currently supports public
, local
, and s3
storage (note: only publicly accessible S3
buckets are supported).
It also includes file and image preview functionality.
Install
Via Composer
Publish config file
You should publish the config file with:
In config/mediauploader.php
config file you should set mediauploader
global path.
Configuration
Before using this, you must complete the following steps (if you want to use the default filesystem disk, which is public):
-
Change your env filesystem drive to this if you want to use public storage directory.
-
Please make sure to link your storage before using this package
- You can also specify the filesystem disk when using image or file functions (see the usage section for details).
Usage (File Upload)
- Image Upload
Example:
- Webp Image Upload
Example:
- Any Upload (if you are not sure what type of file is, you can use this)
Example:
- Image Upload from URL
Example:
- Base64 image Upload
Example:
- Content Upload
Example:
- Thumb (to create a thumb from an existing image, you can use this)
Example:
Returns:
Response from every function looks like this
Usage (File Delete)
File Delete
Example:
Usage (Directory Delete)
Directory Delete
Example:
Usage (FIle or Image Exists check)
- FIle/Image Exists
Example:
Usage (FIle or Image URL & Preview)
- FIle or Image Url
Example:
- File Preview
Example:
- File Preview from url
Example:
- Image Preview
Example:
All versions of mediauploader with dependencies
laravel/framework Version ^7.0|^8.0|^9.0|^10.0|^11.0
intervention/image Version ^2.5