dcodegroup/fileman

Laravel package for managing files.
9,592
Install
composer require dcodegroup/fileman
Latest Version:3.0.8
PHP:^8.0
Last Updated:Jul 24, 2026
Links: GitHub  ·  Packagist
Maintainer: dcodegroup

Versions

  • Legacy branch is for the pre php 8 and pre laravel 8 applications - maintain 1.4.x on packagist
  • master is for php 8+ and laravel 8 plus. use version 2.0.x on packagist

Installation

Install the package via composer:

composer require dcodegroup/fileman
npm install @vitejs/plugin-vue
npm install vue
npm install vite-svg-loader
npm install lodash
npm install vite-plugin-laravel-translations
npm install vue-i18n
npm install vue3-click-away

Publish the migrations:

php artisan vendor:publish --provider="DcodeGroup\Fileman\FilemanServiceProvider" --tag="migrations"

Publish the vendor front-end resources:

php artisan vendor:publish --provider="DcodeGroup\Fileman\FilemanServiceProvider" --tag="styles"

Add the following to your providers.php file:

DcodeGroup\Fileman\FilemanServiceProvider::class,

return [
    App\Providers\AppServiceProvider::class,
    \DcodeGroup\Fileman\FileManServiceProvider::class,
];

Add the package routes to your web.php file:

in web.php
\DcodeGroup\Fileman\Routes\Web::get();

in api.php
\DcodeGroup\Fileman\Routes\Api::get();

JS Add the following alias to vite.config.js


resolve: {
  alias: {
      "@fileman": path.resolve(__dirname, "./vendor/dcodegroup/fileman"),

Seem to need this in tailwind.config.js, Update the module exports under content:

content: [
  ...
    "./vendor/dcodegroup/**/*.{blade.php,vue,js,ts}",
  ...
],

in the app.js file or other file where you are registering your vue components add the following:

import { registerFileman } from "@fileman/src/resources/js";
registerFileman(app);

Fileman will connect to the applications S3 bucket automatically. You'll need to have fileman index the bucket first before it can be used. To index the S3 bucket run:

php artisan fileman:import

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

637,827,751 9,703
laravel/framework

The Laravel Framework.

589,172,971 34,950
laravel/tinker

Powerful REPL for the Laravel framework.

498,216,183 7,442
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

413,412,504 609
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

394,964,158 4,660

Version History

Version Released PHP Laravel License
3.0.8 ^8.0 ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
3.0.7 ^8.0 ^8.0|^9.0|^10.0|^11.0|^12.0
3.0.6 ^8.0 ^8.0|^9.0|^10.0|^11.0|^12.0
3.0.5 ^8.0 ^8.0|^9.0|^10.0|^11.0|^12.0
3.0.4 ^8.0 ^8.0|^9.0|^10.0|^11.0|^12.0