laravel image resize code example
Example 1: how get the size of image in laravel
$image = getimagesize($request->image);
$width = $image[0];
$height = $image[1];
Example 2: image ratio converter in laravel php
composer require intervention/image