Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

convert image to base64 in laravel

$image = base64_encode(file_get_contents($request->file('image')->path()));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #image #laravel
ADD COMMENT
Topic
Name
2+5 =