snnick/laravel-file-uploader 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

snnick/laravel-file-uploader

Composer 安装命令:

composer require snnick/laravel-file-uploader

包简介

Laravel package for file upload

README 文档

README

Run the following command to install the latest applicable version of the package:

composer require snnick/laravel-file-uploader

After installation, you can publish the package configuration using the vendor:publish command. This command will publish the file-uploader.php configuration file to your config directory:

php artisan vendor:publish --provider="Snnick\LaravelFileUploader\LaravelUploaderServiceProvider"

You may configure the file path in your .env file:

FILE_UPLOAD_PATH=app/public/files

Upload

You can upload files:

$service = new FileService();
$service->upload(collect(request()->file('files')));

Delete

You can delete an uploaded file:

$service = new FileService();
$service->delete('app/public/files/file.pdf');

统计信息

  • 总下载量: 228
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-07-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固