Download the PHP package asayhome/asay-uploader without Composer
On this page you can find all versions of the php package asayhome/asay-uploader. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download asayhome/asay-uploader
More information about asayhome/asay-uploader
Files in asayhome/asay-uploader
Package asay-uploader
Short Description This package upload files inside liveware component array varible, that mean's you can upload multiple files, when adding file the package auto send the file object to fired event so that you can get uploaded files in any place you wont by catching the fired event, all working step will be descriped in next sections.
License
Informations about the package asay-uploader
AsayUploader
This package upload files inside liveware component array varible, that mean's you can upload multiple files, when adding file the package auto send the file object to fired event so that you can get uploaded files in any place you wont by catching the fired event, all working step will be descriped in next sections.
Requirements
This package require that livewire\livewire
package it's already installed in your project.
Usage
- this package include styles and scripts need to be pushed in your blade, by default the package
use
after-scripts
tag for scripts stack andafter-styles
for styles stack, you must added in your project layout like next:
@stack('after-styles')
@stack('after-scripts')
or you can change this tags names by Publishing the package config file and change the value of:
pushed-styles-container
pushed-scripts-container
inside blade file:
when selelcting file or drag and drop file will auto fire event uploaderChange
that contain the all added fiels,
you can change this event as you need by adding firedEvent='EventName'
in the including uploader tags
as next:
This event is livewire event you can get fired files inside blade file as follow:
Or you can get it inside livewire component by adding the event in inside component listeners array as follow: