8000 GitHub - laravio/livewire-dropzone: A Livewire Dropzone component for simple drag-and-drop file uploads.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

laravio/livewire-dropzone

 
 

Repository files navigation

Livewire Dropzone

✨ Introduction

This repository is fork of dasundev/livewire-dropzone repository for iohttp projects to achieve high stability on minor changes.

📦 Installation

You can install the package via Composer:

composer require iohttp/livewire-dropzone

To install the styles package, use the following command:

npm i @dasundev/livewire-dropzone-styles

Import styles to your project

/* resources/css/app.css */

@import "@dasundev/livewire-dropzone-styles";

🎬 Showcase

Now you can use the dropzone component as you like.

<livewire:dropzone
        wire:model="banners"
        :rules="['image','mimes:png,jpeg','max:10420']"
        :multiple="true" />

🎨 Tailor UI

The dropzone component is entirely customizable. Just publish the view file and make it your own.

php artisan vendor:publish --tag=livewire-dropzone-views

📝 Author Blog Post

I made a blog post about using the Livewire dropzone to store files permanently. It's perfect for people new to Laravel. You can read the blog post here.

About

A Livewire Dropzone component for simple drag-and-drop file uploads.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Blade 56.5%
  • PHP 41.4%
  • Shell 1.3%
  • Other 0.8%
0