One of the most used open source uploading library is Dropzone.js link here…. It provides simplicity in uploading files with its drop and drag features and is widely use globally.
It uses jQuery library so you have to include it as well.
Implementing it is quite simple in php and of course within my favorite php framework Laravel. So without further ado lets get started with the steps.
Step 1: Include necessary libraries in your view.
<link rel="stylesheet" href="https://rawgit.com/enyo/dropzone/master/dist/dropzone.css">
You can always include the latest libraries in their gihub page here. You can download it or just use a CDN doesn’t matter.