PHPackages                             livewire-filemanager-polymorphic/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. livewire-filemanager-polymorphic/filemanager

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

livewire-filemanager-polymorphic/filemanager
============================================

A simple, friendly and practical Livewire filemanager for your applications

00Blade

Since Jan 31Pushed 1y agoCompare

[ Source](https://github.com/Silassiai/filemanager)[ Packagist](https://packagist.org/packages/livewire-filemanager-polymorphic/filemanager)[ RSS](/packages/livewire-filemanager-polymorphic-filemanager/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

    ![Livewire filemanager image](./images/banner_light.png)

Livewire Filemanager
====================

[](#livewire-filemanager)

A simple, friendly, and practical file manager designed specifically for Laravel applications. This Livewire-powered tool makes it easy to manage files and folders within your project, offering an intuitive interface and seamless integration with Laravel's ecosystem. Perfect for developers seeking an efficient and user-friendly solution for file and folders management.

- Drag &amp; drop files
- Search for files or folders
- Ready to include in any projects
- Multiple languages (see resources/lang for the list)
- Darkmode available

Watch the presentation of the package here: [Laravel Switzerland Meetup](https://www.youtube.com/watch?v=lgk_1AtukfM)

Project requirements
--------------------

[](#project-requirements)

- PHP 8.2.0 or greater required

Important composer dependencies
-------------------------------

[](#important-composer-dependencies)

- [livewire/livewire](https://laravel-livewire.com/)
- [spatie/laravel-medialibrary](https://spatie.be/docs/laravel-medialibrary)

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

[](#installation)

Important

This package is still in development and its structure can change until a stable version is released. Use with caution in you projects.

You can install the package via [composer](https://getcomposer.org):

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

Publish the package's migration file:

```
php artisan vendor:publish --tag=livewire-fileuploader-migrations
```

This package relies on spatie/medialibrary to handle the medias, so if you haven't already configured the package, don't forget this step:

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

If you need for informations about the spatie/medialibrary package, please [visit their documentation](https://spatie.be/docs/laravel-medialibrary)

Note

**Thumbnails** When you upload images, the package will generate a thumbnail. By defaults, it will be dispatched into the queues. You'll have to launch the workers inside your app or change the **QUEUE\_CONNECTION** value in your .env file

After that, you need to run migrations.

```
php artisan migrate
```

This will create a `folders` table which will hold all the filemanager structure and a media table if not already present.

### Package configuration

[](#package-configuration)

Next, you'll need to use the `` component where you want to place the filemanager.

For the styles and scripts, the package relies on TailwindCSS and AlpineJS. So if you don't already have them installed, you can include the `@filemanagerScripts` and `@filemanagerStyles`.

```
>

    @filemanagerStyles

    @filemanagerScripts

```

Important

The @filemanagerStyles will include the PLAY CDN from TailwindCSS which is not recommended for production. Instead, prefer including the path inside your tailwind config file.

```
module.exports = {
    content: [
        './resources/**/*.blade.php',
        './vendor/livewire-filemanager/filemanager/resources/views/**/*.blade.php',
    ],
}
```

If you intend to give access to your files with the public, you can add this inside your web routes file:.

```
Route::get('{path}', [FileController::class, 'show'])->where('path', '.*')->name('assets.show');

```

And don't forget to import the FileController class:

```
use LivewireFilemanager\Filemanager\Http\Controllers\Files\FileController;

```

This will give you an endpoint where you can reach the files with a direct url.

Inside the filemanager, when you click on a file, you'll have the possibility to copy the url to the file. In order to work correctly, this feature needs to have your domain with https enabled.

The interface
-------------

[](#the-interface)

Once everything is installed, the interface should look like this:

    ![Livewire filemanager interface screenshot](./images/interface-light-mode.jpg)

The whole interface is available in dark/light mode.

#### ACL Configuration

[](#acl-configuration)

If you want to enable ACL, you should publish the config file:

```
php artisan vendor:publish --tag=livewire-fileuploader-config
```

This will create a `livewire-fileuploader.php` file inside your config folder. You can now enable the ACL by changing the `acl_enabled` value to `true`.

Also publish the Spatie medialibrary config file, if you haven't already done it.

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

In the media-library config file, change the `media_model` value to `LivewireFilemanager\Filemanager\Models\Media`. If you already have a media model, you can use the Trait `LivewireFilemanager\Filemanager\Traits\HasMediaOwner` inside your model.

This will ensure that only users who created files can view them.

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

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

[](#contributing)

All contributions are welcome and will be fully credited.

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

Credits
-------

[](#credits)

- [Yves Engetschwiler](https://github.com/bee-interactive)
- All illustrations are made by [Quetzal Graphic Design](https://quetzal.ch/)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity16

Early-stage or recently created project

 Bus Factor1

Top contributor holds 90.5% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5eeafc88159e5a5c12b2ddeb4935445a56fdaf1f7fbcbbb89d678d9c9a93b297?d=identicon)[Silassiai](/maintainers/Silassiai)

---

Top Contributors

[![bee-interactive](https://avatars.githubusercontent.com/u/1703353?v=4)](https://github.com/bee-interactive "bee-interactive (134 commits)")[![Rayiumir](https://avatars.githubusercontent.com/u/11635923?v=4)](https://github.com/Rayiumir "Rayiumir (4 commits)")[![aliqasemzadeh](https://avatars.githubusercontent.com/u/26847446?v=4)](https://github.com/aliqasemzadeh "aliqasemzadeh (2 commits)")[![boranbar](https://avatars.githubusercontent.com/u/58306089?v=4)](https://github.com/boranbar "boranbar (2 commits)")[![Silassiai](https://avatars.githubusercontent.com/u/18419961?v=4)](https://github.com/Silassiai "Silassiai (2 commits)")[![kidiatoliny](https://avatars.githubusercontent.com/u/48266788?v=4)](https://github.com/kidiatoliny "kidiatoliny (1 commits)")[![MarcelWeidum](https://avatars.githubusercontent.com/u/9413586?v=4)](https://github.com/MarcelWeidum "MarcelWeidum (1 commits)")[![hdaklue](https://avatars.githubusercontent.com/u/107682410?v=4)](https://github.com/hdaklue "hdaklue (1 commits)")[![holymp2006](https://avatars.githubusercontent.com/u/13824510?v=4)](https://github.com/holymp2006 "holymp2006 (1 commits)")

### Embed Badge

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

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

PHPackages © 2026

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