Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel get list of files in directory

use IlluminateSupportFacadesStorage;
 
$disk = Storage::build([
    'driver' => 'local',
    'root' => '/path/to/root',
]);
 
$disk->put('image.jpg', $content);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #list #files #directory
ADD COMMENT
Topic
Name
9+8 =