j-angnoe / metadata-scanner
dev-master
2022-02-11 09:42 UTC
This package is auto-updated.
Last update: 2024-09-11 15:19:18 UTC
README
Scans directories for files containing @meta()
annotations and collects this data.
Contains both a binary for command-line usage as well as a small library for inclusion
in projects.
CLI Usage
./bin/metadata ls - list files that are included in the search ./bin/metadata search - displays matches that occur in said files. ./bin/metadata scan - collects the data from matches.
Library usage
$obj = new \Metadata\Scanner();
$obj->scan('/path/to/project1');
$obj->scan('/path/to/project2');
$metadata = $obj->export();