Recommend this page to a friend! |
Download |
Info | Documentation | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not yet rated by the users | Total: 91 | All time: 9,935 This week: 488 |
Version | License | PHP version | Categories | |||
php-file-explorer 1.0 | The PHP License | 5 | PHP 5, Files and Folders, Searching |
Description | Author | |
This package can find files that match the given criteria in a folder. |
Code extracted from bmitch/churn-php
$fileFinder = new FileFinder(
fileExtensions: ['php'],
filesToIgnore: [],
basePath: __DIR__,
);
$files = $fileFinder->getFiles(paths: [
__DIR__,
]);
foreach ($files as $file) {
$file->getFullPath();
$file->getDisplayPath();
}
make test
make coverage
Files (20) |
File | Role | Description | ||
---|---|---|---|---|
.github (1 directory) | ||||
src (3 files) | ||||
tests (1 directory) | ||||
composer.json | Data | Auxiliary data | ||
Makefile | Data | Auxiliary data | ||
phpunit.xml | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Files (20) | / | src |
File | Role | Description |
---|---|---|
File.php | Class | Class source |
FileFinder.php | Class | Class source |
FileHelper.php | Class | Class source |
Files (20) | / | tests | / | Unit |
File | Role | Description | ||
---|---|---|---|---|
Assets (4 files) | ||||
Assets2 (2 files, 1 directory) | ||||
FileFinderTest.php | Class | Class source | ||
FileHelperTest.php | Class | Class source | ||
FileTest.php | Class | Class source |
Files (20) | / | tests | / | Unit | / | Assets |
Files (20) | / | tests | / | Unit | / | Assets2 |
File | Role | Description | ||
---|---|---|---|---|
DeepAssets (3 files) | ||||
Foo2.php | Class | Class source | ||
Qux2.inc | Class | Class source |
Files (20) | / | tests | / | Unit | / | Assets2 | / | DeepAssets |
File | Role | Description |
---|---|---|
Deep.php | Class | Class source |
Deep2.php | Class | Class source |
Different.php | Class | Class source |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.