techlify / filemanager-module
Module to manage the file system
Installs: 219
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 1
Type:laravel-module
Requires
- intervention/image: ^2.5
This package is auto-updated.
Last update: 2025-03-20 00:18:38 UTC
README
PRE-REQUISITE:
Install the dependent package to require the package into Modules folder,
composer require joshbrw/laravel-module-installer
USAGE STEPS:
composer require techlify/filemanager-module
Import the FileManger model required to the controller. (use Modules\FileManager\Entities\FileManager;)
API:
-
FileManager::upload(disk_name, sub_path);
Returns: [ 'url' => 'Absolute URL', 'file' => Relative URL, 'file_size' => Uploaded file size ];
-
FileManager::delete(relative_url);
Returns: True or False (Boolean)