Search by

alfasix / alfakit-file-manager

faizanakbar10

A Google-Drive-lite file manager for any Laravel filesystem disk in AlfaKit panels: folders, uploads with progress, drag and drop, previews, zip downloads, trash, shareable links and a file picker field. Every operation is authorised, path-checked and tenant-scoped.

Package info

github.com/alfasixbh/alfakit-file-manager

Homepage

Issues

pkg:composer/alfasix/alfakit-file-manager

Statistics

Installs: 6

Dependents: 0

Suggesters: 0

Stars: 0

v0.1.5 2026-10-19 11:06 UTC

This package is auto-updated.

Last update: 2026-10-19 13:14:54 UTC


README

by Alfa Six

This is a read-only split of the AlfaKit monorepo. Please open issues and pull requests there.

A Google-Drive-lite file manager for any Laravel filesystem disk in AlfaKit panels: folders, grid and list views, search, multi-selection, drag-and-drop uploads with progress, move, copy, rename, trash, previews, zip downloads and shareable links, plus a FileManagerPicker form field. Every operation is authorised, path-checked and tenant-scoped on the server.

Installation

composer require alfasix/alfakit-file-manager

The UI ships with @alfakit/react, @alfakit/vue and @alfakit/svelte. For revocable public links, publish and run the migration:

php artisan vendor:publish --tag=alfakit-file-manager-migrations
php artisan migrate

Register

use AlfaSix\AlfakitFileManager\FileManagerPlugin;

$panel->plugin(
    FileManagerPlugin::make()
        ->disks(['public', 's3' => 'Cloud'])
        ->maxUploadSize(20 * 1024)
        ->acceptedFileTypes(['image/*', 'application/pdf'])
        ->authorize(fn (User $user): bool => $user->can('manage-files')),
);

Picker field

use AlfaSix\AlfakitFileManager\Forms\Components\FileManagerPicker;

FileManagerPicker::make('attachment')->directory('invoices')->acceptedFileTypes(['application/pdf']);

Full documentation: alfakit.dev/docs/plugins/file-manager.

License

MIT. See LICENSE.md.