PHPackages                             vmvarela/smbwebclient - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. vmvarela/smbwebclient

ActiveProject[Utility &amp; Helpers](/categories/utility)

vmvarela/smbwebclient
=====================

Modern PHP 8 SMB/CIFS web client using icewind/smb library

v3.0.0(5mo ago)00MITPHPPHP ^8.2CI passing

Since Dec 10Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/vmvarela/smbwebclient)[ Packagist](https://packagist.org/packages/vmvarela/smbwebclient)[ Fund](https://paypal.me/vmvarela)[ GitHub Sponsors](https://github.com/vmvarela)[ RSS](/packages/vmvarela-smbwebclient/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

 [![PHP CI](https://github.com/vmvarela/smbwebclient/actions/workflows/test.yaml/badge.svg)](https://github.com/vmvarela/smbwebclient/actions/workflows/test.yaml) [![Docker Build](https://github.com/vmvarela/smbwebclient/actions/workflows/build.yaml/badge.svg)](https://github.com/vmvarela/smbwebclient/actions/workflows/build.yaml) [![PHP Version](https://camo.githubusercontent.com/d840cef9807c8f76051ad687841d67f4d830c84e0d83236968e53124ef6742d5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344382e322d3838393242462e737667)](https://camo.githubusercontent.com/d840cef9807c8f76051ad687841d67f4d830c84e0d83236968e53124ef6742d5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344382e322d3838393242462e737667) [![License](https://camo.githubusercontent.com/ac90632ad9e58885abb57499e80a11dfbad5dedae2a8d8da99d44460590993e8/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f766d766172656c612f736d62776562636c69656e74)](https://github.com/vmvarela/smbwebclient/blob/master/LICENSE)

SMB Web Client
==============

[](#smb-web-client)

A modern PHP 8 web-based file browser for SMB/CIFS network shares, powered by FrankenPHP and the icewind/smb library.

Features
--------

[](#features)

- 🚀 **PHP 8.2+** with modern syntax (typed properties, constructor promotion, strict typing)
- 🔥 **FrankenPHP** powered by Go and Caddy for high performance
- 📦 **icewind/smb** library for native SMB/CIFS support
- 🎨 **Multiple themes** (Windows, macOS, Ubuntu)
- 🔒 **Session-based authentication** with credential management
- 🌍 **Multi-language support** (40+ languages with auto-detection)
- 📁 **File operations**: upload, download, create folders, delete, rename
- 🖱️ **Drag &amp; drop** file uploads
- 🔄 **Sortable columns** (name, size, date, type)
- 🐳 **Docker ready** with docker-compose

Requirements
------------

[](#requirements)

- PHP 8.2 or higher
- libsmbclient library and PHP extension
- Composer

Quick Start with Docker
-----------------------

[](#quick-start-with-docker)

### Using GitHub Container Registry (Recommended)

[](#using-github-container-registry-recommended)

```
# Pull the image
docker pull ghcr.io/vmvarela/smbwebclient:latest

# Run with environment variables
docker run -d \
  -p 8080:80 \
  -e SMB_DEFAULT_SERVER=your-smb-server \
  ghcr.io/vmvarela/smbwebclient:latest

# Access at http://localhost:8080
```

### Using Docker Compose

[](#using-docker-compose)

Create a `docker-compose.yml` file:

```
services:
  smbwebclient:
    image: ghcr.io/vmvarela/smbwebclient:latest
    ports:
      - "8080:80"
    volumes:
      - ./.env:/app/.env:ro
    environment:
      - SERVER_NAME=:80
    restart: unless-stopped
```

Then run:

```
# Create your .env file
cat > .env
