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

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

pavlovich4/livewire-filemanager
===============================

This package will help to have a livewire file manager

v0.0.1(1y ago)411MITBladePHP ^8.2

Since Jan 16Pushed 1y ago2 watchersCompare

[ Source](https://github.com/Pavlovich4/livewire-file-manager)[ Packagist](https://packagist.org/packages/pavlovich4/livewire-filemanager)[ Docs](https://github.com/pavlovich4/livewire-filemanager)[ RSS](/packages/pavlovich4-livewire-filemanager/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (2)Used By (0)

Laravel Livewire File Manager
=============================

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

[![Latest Version on Packagist](https://camo.githubusercontent.com/b70fa412020feef9025fb9567e46770a50db3f29662811be1b6f2d0f42bbdcc8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7061766c6f76696368342f6c697665776972652d66696c656d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pavlovich4/livewire-filemanager)[![Total Downloads](https://camo.githubusercontent.com/a0cd458d0e73532ccff601d1ce9c2fc4019bc140bebcd32f8af3597bbb38e272/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7061766c6f76696368342f6c697665776972652d66696c656d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/pavlovich4/livewire-filemanager)[![GitHub Actions](https://github.com/pavlovich4/livewire-filemanager/actions/workflows/main.yml/badge.svg)](https://github.com/pavlovich4/livewire-filemanager/actions/workflows/main.yml/badge.svg)

A modern, responsive file manager for Laravel using Livewire and Alpine.js. Features include:

- Drag and drop file uploads
- Folder management
- Grid and list views
- File previews
- Image thumbnails
- Copy sharing links
- File downloads

Important Requirements
----------------------

[](#important-requirements)

- PHP 8.2 or higher
- Laravel 10.0 or higher
- Livewire 3.0 or higher
- spatie/laravel-medialibrary 10.0 or higher

Caution

**Please be sure to install, configure and run migrations of spatie/laravel-medialibrary package before continue. You can review the installation steps at [spatie/laravel-medialibrary documentation](https://spatie.be/docs/laravel-medialibrary/v11/installation-setup).**

Installation
------------

[](#installation)

1. Install the package via composer:

```
composer require pavlovich4/livewire-filemanager
```

2. Publish and run the migrations:

```
php artisan vendor:publish --tag="livewire-filemanager-migrations"
php artisan migrate
```

3. Publish the config file:

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

4. Publish and configure the media library:

```
php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="medialibrary-config"
```

Update `config/media-library.php`:

```
 'custom_path_generators' => [
        \Pavlovich4\LivewireFilemanager\Models\File::class => \Pavlovich4\LivewireFilemanager\Support\CustomPathGenerator::class,
        // or
        // 'model_morph_alias' => PathGenerator::class
    ],
```

5. Create the symbolic link for public storage:

```
php artisan storage:link
```

Important

This package requires Tailwind CSS along with the @tailwindcss/aspect-ratio and @tailwindcss/forms plugins to be installed and configured in your project.

6. Update your Tailwind CSS configuration in `tailwind.config.js`:

```
module.exports = {
  // ...
  content: [
    // ...
    './vendor/pavlovich4/livewire-filemanager/resources/views/**/*.blade.php',
  ],
  // ...
  plugins: [
    // ...
    require('@tailwindcss/forms'),
    require('@tailwindcss/aspect-ratio'),
  ],
};
```

Usage
-----

[](#usage)

1. Add the file manager component to your layout:

```

{{-- Or --}}
@livewire('file-manager')
```

2. Include the style blade directive in the head tag of your layout:

```
@livewireFileManagerStyle
```

3. Include the scripts directive at the end of your body:

```
@livewireFileManagerScript
```

4. Trigger the file manager from any element using the `data-trigger="filemanager"` attribute:

```

Open File Manager
```

Configuration
-------------

[](#configuration)

The package configuration file (`config/livewire-filemanager.php`) allows you to:

```
return [
    // Storage disk to use (default: 'public')
    'disk' => 'public',

    // Media library configuration
    'media' => [
        'path_generator' => Pavlovich4\LivewireFilemanager\Support\CustomPathGenerator::class,
    ],
];
```

Key Features
------------

[](#key-features)

### File Upload

[](#file-upload)

- Drag and drop support
- Multiple file upload
- Progress indicator
- File type validation
- Size limits (configurable)

### Folder Management

[](#folder-management)

- Create folders
- Delete folders (with confirmation)
- Rename folders
- Nested folders
- Folder navigation

### File Operations

[](#file-operations)

- Preview files
- Download files
- Delete files
- Rename files
- Copy share links
- File icons based on type

### UI Features

[](#ui-features)

- Grid/List view toggle
- Breadcrumb navigation
- Responsive design
- Loading states
- Error handling

### Interface Screenshot

[](#interface-screenshot)

[![Root view](images/img1.png)](images/img1.png)

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Pavlove Biokou](https://github.com/pavlovich4)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance42

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

479d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ac22800b989603c6aaa848ab435bd75ab9b2a8b64ebbf40858b6a52f113b6311?d=identicon)[Pavlovich](/maintainers/Pavlovich)

---

Top Contributors

[![Pavlovich4](https://avatars.githubusercontent.com/u/10787308?v=4)](https://github.com/Pavlovich4 "Pavlovich4 (30 commits)")

---

Tags

livewire-filemanagerpavlovich4

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/pavlovich4-livewire-filemanager/health.svg)

```
[![Health](https://phpackages.com/badges/pavlovich4-livewire-filemanager/health.svg)](https://phpackages.com/packages/pavlovich4-livewire-filemanager)
```

###  Alternatives

[aws/aws-sdk-php-laravel

A simple Laravel 9/10/11/12/13 service provider for including the AWS SDK for PHP.

1.7k35.6M74](/packages/aws-aws-sdk-php-laravel)[stechstudio/laravel-zipstream

A fast and simple streaming zip file downloader for Laravel.

4633.7M3](/packages/stechstudio-laravel-zipstream)[spatie/livewire-filepond

Upload files using Filepond in Livewire components

306452.7k3](/packages/spatie-livewire-filepond)[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[livewire-filemanager/filemanager

A simple, friendly and practical Livewire filemanager for your applications

3587.6k1](/packages/livewire-filemanager-filemanager)[kirschbaum-development/commentions

A package to allow you to create comments, tag users and more

12369.2k](/packages/kirschbaum-development-commentions)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
