PHP code example of max-s-lab / php-local-filesystem
1. Go to this page and download the library: Download max-s-lab/php-local-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/ */
max-s-lab / php-local-filesystem example snippets
use MaxSLab\Filesystem\Local\LocalFilesystem;
$filesystem = new LocalFilesystem('/var/www/some-directory');