PHPackages                             lifeishex/php-file-manager - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. lifeishex/php-file-manager

ActiveLibrary[File &amp; Storage](/categories/file-storage)

lifeishex/php-file-manager
==========================

A modern, secure PHP file manager with Bulma UI - featuring drag-and-drop, multi-select operations, and framework integration

1.2.2(2d ago)11[2 PRs](https://github.com/LifeIsHex/php-file-manager/pulls)MITPHPPHP &gt;=8.3CI passing

Since Feb 11Pushed 4mo agoCompare

[ Source](https://github.com/LifeIsHex/php-file-manager)[ Packagist](https://packagist.org/packages/lifeishex/php-file-manager)[ Docs](https://github.com/LifeIsHex/php-file-manager)[ RSS](/packages/lifeishex-php-file-manager/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (4)Versions (16)Used By (0)

PHP File Manager
================

[](#php-file-manager)

[![License: MIT](https://camo.githubusercontent.com/fdf2982b9f5d7489dcf44570e714e3a15fce6253e0cc6b5aa61a075aac2ff71b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d79656c6c6f772e737667)](https://opensource.org/licenses/MIT)[![PHP Version](https://camo.githubusercontent.com/65f934ff4b7f17d7bda9d5b59f8417947c4069f1468bc7e4e04a2e8958ebf737/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253345253344382e332d626c75652e737667)](https://php.net)[![Bulma](https://camo.githubusercontent.com/04996460766774e2e8fe5debaac6a20586e0e80d1b83ca1ce1cd292423ad5b0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f42756c6d612d4353532d3030443142322e737667)](https://bulma.io)

A modern, secure, and feature-rich PHP file manager with beautiful Bulma UI. Built for standalone use or seamless integration with frameworks like CodeIgniter 4.

> 🤖 **Built with [Antigravity](https://antigravity.google/)** - This project was developed using AI-assisted coding.

---

🛡️ Reporting Issues &amp; Security Vulnerabilities
--------------------------------------------------

[](#️-reporting-issues--security-vulnerabilities)

Caution

**Found a security vulnerability?** Please **do NOT** open a public issue. Instead, report it privately via [GitHub Security Advisories](https://github.com/LifeIsHex/php-file-manager/security/advisories/new) so it can be addressed before public disclosure.

For **bugs** and **feature requests**, please open an issue on GitHub:

- 🐛 [Report a Bug](https://github.com/LifeIsHex/php-file-manager/issues/new?labels=bug&template=bug_report.md)
- 💡 [Request a Feature](https://github.com/LifeIsHex/php-file-manager/issues/new?labels=enhancement&template=feature_request.md)
- ❓ [Ask a Question](https://github.com/LifeIsHex/php-file-manager/issues/new?labels=question)

✨ Features
----------

[](#-features)

### File Operations

[](#file-operations)

- 📁 **Browse &amp; Navigate** - Intuitive directory browsing with breadcrumb navigation
- ⬆️ **Upload Files** - Drag-and-drop file uploads with progress indicators
- 📥 **Download** - Single file or multi-file download as ZIP
- ✏️ **Rename** - Quick inline renaming
- 🗑️ **Delete** - Single or bulk delete with confirmation modal
- 📋 **Copy &amp; Paste** - Clipboard operations with cut/copy/paste
- 📦 **Compress** - Create ZIP archives from selected files

### Multi-Select Operations

[](#multi-select-operations)

- ☑️ **Checkbox Selection** - Select multiple files with checkboxes
- 🎯 **Select All** - Quick select/deselect all items
- 🔧 **Bulk Actions** - Cut, copy, delete, download selected files

### Drag &amp; Drop

[](#drag--drop)

- 🎯 **Drag to Move** - Drag files/folders into other folders
- 🎨 **Visual Feedback** - Drop targets highlight during drag
- 📦 **Multi-Drag** - Select multiple items and drag them together
- ✅ **Confirmation Modal** - Preview move operation before confirming

### Preview &amp; View

[](#preview--view)

- 🖼️ **Image Preview** - View images with dimensions
- 📄 **Text/Code View** - Syntax-highlighted code preview
- 📑 **PDF Viewer** - Inline PDF viewing
- 🍎 **HEIC Support** - Apple HEIC/HEIF image preview and dimensions

### Security

[](#security)

- 🔐 **Authentication** - Built-in login with password hashing
- 🛡️ **CSRF Protection** - Token-based form protection
- 📂 **Path Validation** - Prevents directory traversal attacks
- ⚙️ **Configurable Auth Bypass** - Optional for framework integration

### Modern UI

[](#modern-ui)

- 🎨 **Bulma CSS** - Clean, responsive design
- 🌙 **Context Menu** - Right-click actions
- 🔔 **Toast Notifications** - Non-intrusive feedback
- 📱 **Responsive** - Works on desktop and mobile

---

📸 Screenshots
-------------

[](#-screenshots)

 [![sign-in.png](screenshots/sign-in.png)](screenshots/sign-in.png) [![file-manager.png](screenshots/file-manager.png)](screenshots/file-manager.png) [![drag-drop.png](screenshots/drag-drop.png)](screenshots/drag-drop.png) [![move-multiple-file.png](screenshots/move-multiple-file.png)](screenshots/move-multiple-file.png) [![context-menu.png](screenshots/context-menu.png)](screenshots/context-menu.png) [![copy-move-files.png](screenshots/copy-move-files.png)](screenshots/copy-move-files.png) [![upload-files.png](screenshots/upload-files.png)](screenshots/upload-files.png) [![view-file.png](screenshots/view-file.png)](screenshots/view-file.png) [![zip-file.png](screenshots/zip-file.png)](screenshots/zip-file.png) [![change-permissions.png](screenshots/change-permissions.png)](screenshots/change-permissions.png) [![search.png](screenshots/search.png)](screenshots/search.png) [![delete.png](screenshots/delete.png)](screenshots/delete.png) [![rename.png](screenshots/rename.png)](screenshots/rename.png)

---

🚀 Installation
--------------

[](#-installation)

### Via Composer

[](#via-composer)

```
composer require lifeishex/php-file-manager
```

### Manual Installation

[](#manual-installation)

1. Clone or download the repository
2. Copy files to your project
3. Configure `config.php`

---

🔄 Updating Frontend Assets
--------------------------

[](#-updating-frontend-assets)

Frontend libraries (Bulma, Font Awesome, Dropzone, SortableJS, Bulma Responsive Tables) are managed via **npm**. The compiled files are committed to the repo so no build step is needed for regular use.

### To update a library

[](#to-update-a-library)

```
# 1. Install npm dependencies (first time only)
npm install

# 2. Edit the version in package.json, then:
npm install   # pulls the new version

# 3. Copy dist files into assets/
npm run build

# 4. Commit the updated assets/
git add assets/ package.json
git commit -m "chore: update  to vX.Y.Z"
```

### Current versions

[](#current-versions)

LibraryVersionBulma1.0.4Font Awesome6.5.1Dropzone5.9.3SortableJS1.15.6Bulma Responsive Tables1.2.5> **Note:** The `node_modules/` directory is gitignored. Only the built files in `assets/` are committed.

---

⚙️ Configuration
----------------

[](#️-configuration)

Create or modify `config.php`:

```
