uploadforlaravel-admin/bigfile is a Laravel package for 一款用于laravel-admin的分片上传组件,储存对象是七牛云.
It currently has 2 GitHub stars and 3 downloads on Packagist (latest version v1.0.0).
Install it with composer require uploadforlaravel-admin/bigfile.
Discover more Laravel packages by uploadforlaravel-admin
or browse all Laravel packages to compare alternatives.
Last updated
composer require uploadforlaravel-admin/bigfile
php artisan vendor:publish --tag=laravel-admin-bigfile
'extensions' => [
'bigfile' => [
// Set to false if you want to disable this extension
'enable' => true,
// If you want to set an alias for the calling method
//'alias' => 'markdown',
// Editor configuration
'config' => [
//file Host
'host'=> 'http://www.baidu.cn/'
'prefix'=> 'file'
]
]
],`
$form->bigfile('field_name')->options(['chunk_size'=> 3 * 1024 * 1024 ,'max_size'=> 5 * 1024 * 1024,'ext'=> ['exe']]);