Download the PHP package akhaled/livewire-files without Composer
On this page you can find all versions of the php package akhaled/livewire-files. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download akhaled/livewire-files
More information about akhaled/livewire-files
Files in akhaled/livewire-files
Download akhaled/livewire-files
More information about akhaled/livewire-files
Files in akhaled/livewire-files
Vendor akhaled
Package livewire-files
Short Description Upload and browse files using livewire
License MIT
Package livewire-files
Short Description Upload and browse files using livewire
License MIT
Please rate this library. Is it a good library?
Informations about the package livewire-files
Livewire files
Uploading file using Livewire and Tailwind.
- Installation
- Requirements
- How to use
- Configuration
- Plan
Installation
composer require akhaled/livewire-files
Requirements
Frontend packages are required:
How to use
1. Add livewire component to your view
This component only displays a button within your content. This button is linked to tailwind modal.
2. Add scripts
Configuration
php artisan vendor:publish --tag=livewire-files
Will generate global config file.
store_dir
Default is public (storage/public). You need to add the following line in config/filesystems.php under links property:
public_path('storage') => storage_path('app/public')
validation
image: only accept images, default =falsemimes: accepted mimes, default =null(accepting everything)max: maximum uploaded size, default =102400(in kilobytes)
Plan
- [x] Show toast on uploaded!
- [x] Hide input file and show javascript link
- [x] Move content to modal
- [ ] Show sweetalert popups instead of static alert
- [ ] Add button text and button color for upload button
- [ ] Specify upload files names
- [ ] Move uploads to directory year/month/day
All versions of livewire-files with dependencies
PHP Build Version
Package Version
The package akhaled/livewire-files contains the following files
Loading the files please wait ...