PHP code example of allmarkedup / ffs
1. Go to this page and download the library: Download allmarkedup/ffs 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/ */
allmarkedup / ffs example snippets
use Amu\Ffs\Finder;
$fs = new Finder(__DIR__);
foreach($fs->titleContains('hello') as $item) {
echo $item->getFilename() . "<br>\n";
}
$fs = new Finder(__DIR__);
foreach($fs->idEquals("12345") as $item) {
echo $item->getFilename() . "<br>\n";
}