Easy File Explorer is a PHP/AngularJS based file manager to manage your files on your computer or server in the browser.
This project is a lightweight version of the main back-up system of the Easycart e-Commerce platform and under free license.
Click to view the sample video
- File Download
- File Upload
- Tree Navigation
- Copy, Move or Rename
- Create and Delete Files and Folders
- Edit Files
- File Permissions (UNIX Chmod)
## Installation You can use composer to install the Easy File Explorer.
index.html:
<link rel="stylesheet" href="node_modules/font-awesome/css/font-awesome.min.css" />
<script type="text/javascript" src="node_modules/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="node_modules/angular/angular.min.js"></script>
index.php:
require_once('./websockets.php');
Easy File Explorer creates a web socket connection to the back-end side to be able to access the files and folders that require root access. “index.php” file in the server/socketServer directory must be running on the background all the time.
WebSocket.class.js:
this.ws = new WebSocket("ws://127.0.0.1:9003/");
index.php:
$server = new FileExplorerServer("127.0.0.1","9003");
If you don’t want to give root access to the application, you can restrict permissions by adding a control into the TaskManager.class.php file.
To perform upload and download tasks, create a “download” and a “tmp” folder in the root directory of the project.