# large-file-upload **Repository Path**: jackfinal/large-file-upload ## Basic Information - **Project Name**: large-file-upload - **Description**: large-file-upload - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2026-10-27 - **Last Updated**: 2026-10-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README laravel-admin extension ====== 由于已经有了更好更专业完善的方案,本项目停止更新,建议大家支持这个项目[Dact-Admin](https://github.com/jqhph/dcat-admin),以获得更好的体验 === 本扩展包是基于peinhu的[AetherUpload-Laravel](https://github.com/peinhu/AetherUpload-Laravel)针对[laravel-admin](https://github.com/z-song/laravel-admin)开发的大文件上传工具, 直接用于Form组件。当前版本为Laravel 5.5。 1,安装: ```` composer require dianwoung/large-file-upload ```` 2,发布AetherUpload-laravel的静态资源: ```` php artisan aetherupload:publish ```` 3,上传文件配置信息在config/aetherupload.php文件中修改(详细信息请参考说明文档) 4,发布本扩展包的静态资源: ```` php artisan vendor:publish --tag=large-file-upload ```` 5,注册进laravel-admin,在app/Admin/bootstrap.php中添加以下代码: ```` Encore\Admin\Form::extend('largefile', \Encore\LargeFileUpload\LargeFileField::class); ```` 6,在控制器中直接调用就可以了: ```` $form->largefile('ColumnName', 'LabelName'); ```` 效果如图: 基本样式 ![](preview.png) 上传中 ![](onload.png) ---- 新版2.0分支更新的内容 --- 1,支持了分组的配置(不填的话,默认file分组) ```` $form->largefile('ColumnName', 'LabelName')->group('groupName'); ```` 2,编辑状态下文件按钮会显示当前的文件名 3,依赖包AetherUpload-Laravel更新到了2.0版本