saifur / filemanager
这是一个关于文件管理器的包
dev-main
2023-07-22 02:39 UTC
Requires
- php: ^7.3.11|^8.0
- illuminate/support: ^8.0
This package is auto-updated.
Last update: 2024-09-22 05:50:12 UTC
README
一个动态文件管理器
内容
设计模式
- 桥接
特性
- 文件上传和管理
- 上传验证
- 下载
- 图片裁剪和缩放
- 管理文件夹
动作
文件管理器动作通常指在文件管理系统内对文件或目录执行的各种操作或动作。以下是一些常见的文件管理器动作:
Create: Create a new file or directory within the file management system.
Delete: Remove a file or directory from the file management system.
Rename: Change the name of a file or directory.
Copy: Duplicate a file or directory, creating an identical copy.
Move: Transfer a file or directory from one location to another within the file management system.
Edit: Modify the content or properties of a file.
View: Display the contents of a file.
Upload: Add files or directories to the file management system from an external source.
Download: Save a copy of a file from the file management system to a local device.
Permissions: Set or modify the access permissions of a file or directory, determining who can read, write, or execute it.
Search: Look for specific files or directories based on search criteria.
Sort: Arrange files or directories in a specific order, such as alphabetical or by date modified.
Compress/Extract: Compress multiple files or directories into an archive or extract files from an existing archive.
Share: Provide access to specific files or directories to other users or shareable links.
Preview: Display a preview or thumbnail of a file's content without opening it.
文档、安装和用法说明
此包允许您管理日志。
安装后,您可以执行如下操作
Laravel 命令
composer require saifur/filemanager
php artisan vendor:publish --tag=public --force
php artisan vendor:publish --tag=config --force
php artisan storage:link
composer dump-autoload
数据库更改
路由
- 在
config/sfm.php
配置文件中将use_package_routes = true
设置为 true 以使用包路由
贡献者
- Md. Saifur Rahman
替代方案
- https://github.com/UniSharp/laravel-filemanager
- https://github.com/alexusmai/laravel-file-manager
- https://github.com/mafftor/laravel-file-manager
- https://github.com/yesteamtech/laravel-file-manager
- https://github.com/rudiedirkx/laravel-file-manager
- https://github.com/Binay7587/laravel-filemanager
许可证
MIT 许可证 (MIT)。有关更多信息,请参阅许可证文件。