Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel get image extension

$extension = pathinfo(storage_path('/uploads/my_image.jpg'), PATHINFO_EXTENSION);
dd($extension);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #image #extension
ADD COMMENT
Topic
Name
3+9 =