Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to remove image from public storage in laravel

// import Storage class
use IlluminateSupportFacadesStorage;

Storage::disk('public')->delete('path-of-file');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #remove #image #public #storage #laravel
ADD COMMENT
Topic
Name
6+8 =