allmarkedup / ffs
Filename-based metadata for your filesystem.
v0.1.1
2015-01-08 11:17 UTC
Requires
- symfony/finder: ~2.5
- symfony/yaml: ~2.6
Requires (Dev)
- mockery/mockery: ~0.9
- phpunit/phpunit: ~4.3
This package is not auto-updated.
Last update: 2024-11-19 03:42:57 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"; }