📜  媒体库 laravel 最大允许大小 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:21.440000             🧑  作者: Mango

代码示例1
// laravel media library config file

Please check config/medialibrary.php

'max_file_size' => 1024 * 1024 * 10 // For 10MB
  
  // for publish:
  php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="config"