diff --git a/README.md b/README.md index 03c60f6..9775317 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ $list->isSuccess(); // Success status as `bool` Show hidden files, default is `false`. ```php -$list = FileList::make('/path/to/scan')->run(); +$list = FileList::make('/path/to/scan')->showHidden()->run(); ``` Save as JSON. @@ -67,6 +67,12 @@ Skip extensions, case insensitive. $list = FileList::make('/path/to/scan')->skipExtensions(['txt', 'md'])->run(); ``` +Skip filenames. + +```php +$list = FileList::make('/path/to/scan')->skipFilenames(['file.txt', 'README.md'])->run(); +``` + Disable recursive scan. ```php