लारवेल में फोटो का आकार कैसे अपलोड करें
$request->file('image')->getSize()
लारवेल में छवि का आकार कैसे प्राप्त करें
$image = getimagesize($request->image);
$width = $image[0];
$height = $image[1];
लारवेल में फोटो का आकार कैसे अपलोड करें
request()->validate([
'image' => 'image|mimes:jpeg,png,jpg|max:2048',
]);