1. Go to this page and download the library: Download sapistudio/filesystem library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
sapistudio / filesystem example snippets
use \SapiStudio\FileSystem\Handler as FileHandler;
$files = FileHandler::getFinder()->files()->in('localpath');
\SapiStudio\FileSystem\Handler::get($filename)
\SapiStudio\FileSystem\Handler::loadJson($filePath,true(if you want your data as array))