Answers for "how to get the extension of an image file in laravel on file upload"

PHP
0

laravel get image extension

$extension = pathinfo(storage_path('/uploads/my_image.jpg'), PATHINFO_EXTENSION);
dd($extension);
Posted by: Guest on January-06-2021

Code answers related to "how to get the extension of an image file in laravel on file upload"

Browse Popular Code Answers by Language