j-angnoe/metadata-scanner

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/j-angnoe/metadata-scanner

dev-master 2022-02-11 09:42 UTC

This package is auto-updated.

Last update: 2025-10-11 17:41:45 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();