PHPackages                             teksite/laravel-filemanager - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. teksite/laravel-filemanager

ActiveLibrary

teksite/laravel-filemanager
===========================

A simple package for managing files with different drivers.

0.2.4(1mo ago)04MITJavaScript

Since Jul 13Pushed 1mo agoCompare

[ Source](https://github.com/teksite/laravel-filemanager)[ Packagist](https://packagist.org/packages/teksite/laravel-filemanager)[ RSS](/packages/teksite-laravel-filemanager/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (6)Dependencies (2)Versions (13)Used By (0)

Teksite Laravel File Manager
============================

[](#teksite-laravel-file-manager)

[![Laravel](https://camo.githubusercontent.com/00fdc1cbd598ffba4c764b1584ca1600dbf559574bdd5d338909d39cb067fdee/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31332d726564)](https://camo.githubusercontent.com/00fdc1cbd598ffba4c764b1584ca1600dbf559574bdd5d338909d39cb067fdee/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31332d726564)[![License](https://camo.githubusercontent.com/f8df3091bbe1149f398a5369b2c39e896766f9f6efba3477c63e9b4aa940ef14/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e)](https://camo.githubusercontent.com/f8df3091bbe1149f398a5369b2c39e896766f9f6efba3477c63e9b4aa940ef14/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e)[![PHP](https://camo.githubusercontent.com/44471375dfd3bcd4fd091f24ddc5326e7d42abfb024cc764490d83ed6ef31b85/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e332d626c7565)](https://camo.githubusercontent.com/44471375dfd3bcd4fd091f24ddc5326e7d42abfb024cc764490d83ed6ef31b85/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e332d626c7565)

About
-----

[](#about)

A lightweight and extensible Laravel File Manager built on top of Laravel's Filesystem.

The package follows a zero-dependency approach for the frontend. It uses only **vanilla JavaScript and pure CSS**, with no additional JavaScript libraries, CSS frameworks, or UI packages required.

The backend relies only on **Laravel's native capabilities** and dependencies, ensuring a minimal footprint, better performance, and easier customization.

Because it is built on Laravel Filesystem, it supports every storage driver supported by Laravel, including:

- Local
- Public
- S3
- FTP
- SFTP
- MinIO
- Any custom filesystem driver

**It is designed to be used as a standalone media manager or as a backend service for building your own custom file management interfaces.**

For more information about supported drivers, visit the official Laravel documentation: [laravel File Storage docs](https://laravel.com/docs/13.x/filesystem)

Features
========

[](#features)

- Multiple filesystem disks
- Upload files
- Delete files
- Rename files
- File metadata
- Pagination
- MIME type filtering
- Disk filtering
- Custom file naming strategies
- Configurable upload paths
- Automatic database synchronization
- Vanilla JavaScript frontend
- Zero frontend dependencies
- No backend dependencies except Laravel
- Event-driven architecture
- Multiple upload support
- Cursor pagination support
- Custom authorization layer
- Storage driver agnostic
- Customizable UI selectors

---

Security
--------

[](#security)

The package provides:

- Upload validation
- MIME type filtering
- Disk-level restrictions
- Authorization hooks
- Configurable file visibility
- No direct filesystem access from frontend

Installation
============

[](#installation)

Step 1 — Install Package
------------------------

[](#step-1--install-package)

```
composer require teksite/laravel-filemanager
```

---

Step 2 — Install Package Assets
-------------------------------

[](#step-2--install-package-assets)

```
php artisan filemanager:install
```

This command will install everything required by the package.

---

Step 3 — Run Migrations
-----------------------

[](#step-3--run-migrations)

```
php artisan migrate
```

---

Step 4 — Publish Configuration (Optional)
-----------------------------------------

[](#step-4--publish-configuration-optional)

```
php artisan vendor:publish --tag=filemanager-config
```

---

Step 5 — Publish Views (Optional)
---------------------------------

[](#step-5--publish-views-optional)

```
php artisan vendor:publish --tag=filemanager-views
```

> **Warning**
>
> Publishing views is **not recommended** unless you really need to customize the frontend.
>
> Future package updates may require you to manually update your published views.

---

Configuration
=============

[](#configuration)

The package configuration file is located at:

```
config/filemanager.php
```

Below is a complete explanation of every available option.

```
