File Management System in PHP using Laravel 9 Free Source Code



This simple project is a File Management System. This is a web-based application project developed in PHP, Laravel Framework, and MySQL Database. This project provides an online platform for the user to manage and store their important files or documents. Here, users can upload, download, and organize folder their documents and files. It has a pleasant user interface with the help of Bootstrap Framework and AdminLTE Template. It consists of user-friendly features and functionalities to give the end-users a better experience while using the application.

About the File Management System

This File Management System was developed using the following:

  • XAMPP v3.3.0
  • PHP
  • Laravel 9
  • MySQL Database
  • HTML
  • CSS
  • JavaScript
  • Ajax
  • jQuery
  • Bootstrap
  • AdminLTE

This File Management System in the Laravel Framework project can be accessed by anyone who is successfully registered to the system. The new users can create their accounts simply by filling in all the required fields on the registration form. It allows the users to create multiple folders with CRUD (Create, Read, Update, and Delete) Operations. Users can upload any files or documents in each folder created. They can update their password on the system. The system administrator has the privilege to access and manage the list of users and user roles of the system.


  • Login and Registration
    • New users can easily create their system accounts on the system. After the successful login, they can simply log in to their system credentials and gain access to the features and functionalities of the system.
  • Folder Management
    • Users can create their own directories or folders. He/She can list only their created folders. This system feature allows the user to Add New Folder, Edit Folder, Delete Folder, and Delete a Bulk Folder. This feature also contains a trash list which means all the deleted folders will be served as an archive and will be listed on the Trash Folders List. Users can also permanently delete or restore the folder.
  • File Management
    • The users can upload their important documents or file to the system. It allows users to upload the files into a specific folder that the user created. Users can also download, delete, and bulk delete on this feature. It also has a list of trash files list where they can delete permanently or restore to the list.
  • Change Password
  • Roles Management (Admin-Side)
  • User Management (Admin-Side)
  • Logout

The source code was developed only for educational purposes only. You can download the source code for free and modify it the way you wanted.

System Snapshots of some Features

Login Page

File Management System

Registration Page

File Management System

Home/Dashboard Page

File Management System

Folder List Page

File Management System

File List Page

File Management System

How to Run ??


  • Download and Install any local web server such as XAMPP.
  • Download the provided source code zip file. (download button is located below)

System Installation/Setup

  1. Open your XAMPP Control Panel and start Apache and MySQL.
  2. Extract the downloaded source code zip file.
  3. Copy the extracted source code folder and paste it into the XAMPP's "htdocs" directory.
  4. Browse the PHPMyAdmin in a browser. i.e. http://localhost/phpmyadmin
  5. Create a new database naming fms_db.
  6. Rename the .env.example file into .env.
  7. Configure the .env files variables for the database connection and etc.
  8. Open your command line or terminal and change your current directory to the source code folder path.
  9. Execute the following command in your terminal:
    • php artisan key:generate
    • php artisan migrate --seed
    • php artisan serve
    • Do not close the terminal
  10. Browse the File Management System in Laravel using the link provided in your terminal after serving the project.

Admin Default Access:

Email: [email protected]
Password: password


That's it. You can now explore the features and functionalities of this File Management System in PHP using Laravel Framework. I hope this will help you with what you are looking for and you'll find something useful for your future projects.

Explore more on this website for more Free Source Codes and Tutorials.

Enjoy :)

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.

Virus note: All files are scanned once-a-day by for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.


1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.


Submitted byHello Im Riz (not verified)on Tue, 07/12/2022 - 13:47

Can you add a view button and when you view the specific file it or picture will just display. Thank you so much!
Submitted byRIKON (not verified)on Sat, 07/23/2022 - 20:24

Submitted bywnc19on Thu, 11/24/2022 - 14:40

sir I encountered error:

Attempt to read property "id" on null

C:\xampp\htdocs\laravel-fms\app\Http\Controllers\Admin\DownloadsController.php : 21


 $media = Media::where('model_id', $file->id)->first();

Submitted byDuta Alif Gunawan (not verified)on Fri, 12/09/2022 - 08:11

I have permission to download the source code for the purposes of my college assignment. Thank you

Add new comment