Download the PHP package ranitachi/filemanager-laravel without Composer

On this page you can find all versions of the php package ranitachi/filemanager-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package filemanager-laravel

🗂 Laravel Secure File Manager

Latest Version PHP Version Laravel

A secure, modular, and extensible File Manager package for Laravel 10/11/12/13.
Built as a drop-in replacement for unisharp/laravel-filemanager with enterprise-grade security, granular RBAC, multi-storage support, and native WYSIWYG editor integration.


✨ Features

Feature Details
🔐 Security Path traversal prevention, magic-byte MIME validation, signed URLs, ClamAV hook
🗄 Multi-Storage Local, S3, MinIO — swap via config, no code change
👥 RBAC Per-file / per-folder permissions for users and roles, with inheritance
📋 Audit Log Every action (upload, download, delete, move) is logged with IP and user-agent
🖼 Thumbnails Auto-generated via Intervention Image 3 (GD or Imagick)
✂️ Full CRUD Upload, rename, move, copy, soft-delete, restore, permanent delete
🔗 Share Links Temporary signed URLs with expiry, download limit, and optional password
🧩 Editor Integration CKEditor 5, TinyMCE, Summernote — single-file JS plugins included
🎣 Event Hooks FileUploaded, FileDeleted, FileDownloaded, FileMoved, FolderCreated
📦 Artisan Commands filemanager:install, filemanager:purge-trash
Rate Limiting Configurable upload rate limit per user/IP

Requirements


Installation

1. Install via Composer

2. Run the installer

This publishes config, migrations, and assets — then runs migrations automatically.

3. Manual install (alternative)


Configuration

After publishing, edit config/filemanager.php:

.env Variables


API Reference

All API routes are prefixed with /api/v1/filemanager and require a Bearer token.

Files

Method Endpoint Description
GET /files Browse files (with folder_id, search, sort params)
POST /upload Upload a file (multipart)
GET /files/{id} Get file metadata
GET /files/{id}/download Download file
GET /files/{id}/preview Preview file (inline stream)
PATCH /files/{id}/rename Rename file
POST /files/{id}/move Move to another folder
POST /files/{id}/copy Copy to another folder
POST /files/{id}/restore Restore from trash
DELETE /files/{id} Soft delete (pass permanent: true for hard delete)

Folders

Method Endpoint Description
GET /folders Folder tree
POST /folders Create folder
PATCH /folders/{id} Rename folder
DELETE /folders/{id} Delete folder

Permissions

Method Endpoint Description
GET /{type}/{id}/permissions List permissions on file/folder
POST /{type}/{id}/permissions Grant permission to user/role
DELETE /permissions/{id} Revoke a specific permission

Share Links

Method Endpoint Description
POST /files/{id}/share Create a share link
DELETE /share/{token}/revoke Revoke a share link
GET /share/{token} Public share page
GET /share/{token}/download Public download

Usage Examples

Via Facade

Granting Permissions

Creating a Share Link

Listening to Events


WYSIWYG Editor Integration

CKEditor 5

TinyMCE

Summernote

The picker opens as a popup window. When a file is selected, a callback fires in the parent window and automatically inserts the file URL into the editor.


Artisan Commands


Security

This package implements multiple layers of defence:

Upload Security

Access Control

Share Links


Testing

The test suite uses PestPHP and an in-memory SQLite database. Storage is faked via Storage::fake().


Publishing to Packagist

  1. Update composer.json sesuai vendor/package final Anda di Packagist
  2. Push to a public GitHub repository
  3. Go to packagist.org/packages/submit and enter your repository URL
  4. Set up the GitHub webhook for auto-updates on new releases

Roadmap


License

MIT © Fachran


All versions of filemanager-laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
illuminate/contracts Version ^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/support Version ^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/database Version ^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/http Version ^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/routing Version ^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/filesystem Version ^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/cache Version ^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/queue Version ^9.0|^10.0|^11.0|^12.0|^13.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package ranitachi/filemanager-laravel contains the following files

Loading the files please wait ...