Download the PHP package sarowar/laravel-dynamic-file-upload without Composer
On this page you can find all versions of the php package sarowar/laravel-dynamic-file-upload. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sarowar/laravel-dynamic-file-upload
More information about sarowar/laravel-dynamic-file-upload
Files in sarowar/laravel-dynamic-file-upload
Package laravel-dynamic-file-upload
Short Description A Laravel package for handling file uploads with support for validation, multiple file types, and storage options (local, s3, etc.).
License MIT
Informations about the package laravel-dynamic-file-upload
LaravelFileUpload
LaravelFileUpload is a simple package for uploading and processing files (images, PDFs, etc.)
in a Laravel application. It supports image resizing using the Intervention Image
library and allows you to handle file uploads to both public and storage directories.
Version
Current Version: 1.2.1
Features
- Upload files (images, PDFs, etc.)
- Resize images (optional)
- Save files to public or storage directories
- Automatic directory creation if it doesn't exist
- Handles deletion of existing files before uploading a new one
Installation
You can install the package via Composer:
Publishing Configuration
To publish the configuration file, run the following command:
- This will create a configuration file named
sarowar-file-upload.php
in the config directory of your Laravel application. You can customize the settings in this file according to your requirements.
Usage
Here’s a basic example of how to use the slug generator:
Configuration
You can customize the slug generation by modifying the config/sarowar-file-upload.php
file. Options include:
-'file_path' => 'storage',
// Change to 'storage' if you prefer to use the storage folder
Contributing
- Contributions are welcome! Please open an issue or submit a pull request.