Filename-based metadata for your filesystem.

v0.1.1 2015-01-08 11:17 UTC

This package is not auto-updated.

Last update: 2024-03-26 00:27:35 UTC


README

Filesystem file finder and filterer with special support for YAML front-matter.

Built on top of the Symfony Finder component.

<?php

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";
}