Download the PHP package kiwilan/php-filelist without Composer
On this page you can find all versions of the php package kiwilan/php-filelist. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kiwilan/php-filelist
More information about kiwilan/php-filelist
Files in kiwilan/php-filelist
Package php-filelist
Short Description PHP package for recursive file listing, exportable in JSON format.
License MIT
Homepage https://github.com/kiwilan/php-filelist
Informations about the package php-filelist
PHP FileList
PHP package for recursive file listing, exportable in JSON format.
[!NOTE] The aim of this package is to provide a simple way to list files in a directory, with options to customize the scan. But the real feature is usage of custom binaries, if you want to add an interesting binary, you can open an issue or a pull request.
Installation
You can install the package via composer:
Usage
Options
Show hidden files, default is false
.
Save as JSON.
Throw exception on error, otherwise errors are stored in the list.
Limit the number of files to scan.
Get only files with specific extensions, case insensitive.
Skip extensions, case insensitive.
Skip filenames.
Disable recursive scan.
Disable PHP memory limit.
Use custom binaries
If you want to add a new binary, you can open an issue or a pull request.
find
The find
binary is used to list files in a directory, you can add path of binary as parameter of withFind()
method if it's not in your PATH.
scout-seeker
The scout-seeker
binary is used to list files in a directory, you can add path of binary as parameter of withScoutSeeker()
method if it's not in your PATH.
[!IMPORTANT] You can install
scout-seeker
(v0.2.11 min) with Cargo (Rust package manager):Binary
scout-seeker
is a Rust CLI tool built to list files, you can find the source code here.
Testing
Changelog
Please see CHANGELOG for more information on what has changed recently.
Credits
- Ewilan Rivière
- All Contributors
License
The MIT License (MIT). Please see License File for more information.