maximum file upload size in laravel code example
Example 1: how to get the size of an uploaded file in laravel
use Illuminate\Support\Facades\Storage;
$size = Storage::size('public/'.$picture->filename');
Example 2: the uploaded file exceeds the upload_max_filesize in laravel
post_max_size = 6G
upload_max_filesize = 4G
memory_limit = 8G