2017 © Pedro Peláez
 

library filesystem-scanner

A simple file system scanner.

image

iprods/filesystem-scanner

A simple file system scanner.

  • Saturday, November 14, 2015
  • by scflode
  • Repository
  • 1 Watchers
  • 0 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Iprods Filesystem Scanner

Build Status Scrutinizer Code Quality Build Status, (*1)

This small library aims to add some useful helpers for working with file systems., (*2)

Installation

composer require iprods/filesystem-scanner

Usage

In order to use the path filtering you need to define what file name pattern to apply. Optionally you can add a filter for blacklisting paths (absolute or relative). It defaults to Tests. Another option is to set the supported file extensions. This defaults to .php and .hh., (*3)

$scanner = new \Iprods\Filesystem\Scanner\FileScanner('[^\/]+Bundle', ['Tests', 'App']);
$info = $scanner->scan(['/path/to/scan', '/path/to/scan_too]);

$info will then contain a list of items consisting of:, (*4)

  • full path
  • file name
  • file extension

License

This software is released under the MIT license (see included license file)., (*5)

Credits

Everyone who writes open source code and therefore lets other people use it and learn from it., (*6)

The Versions

14/11 2015

dev-master

9999999-dev

A simple file system scanner.

  Sources   Download

MIT

The Requires

  • php >=5.5.9

 

The Development Requires

by Florian Schuessel

09/11 2015

1.0.0

1.0.0.0

A simple file system scanner.

  Sources   Download

MIT

The Development Requires

by Florian Schuessel