PHPackages                             herrera-io/file-locator - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. herrera-io/file-locator

AbandonedArchivedLibrary[File &amp; Storage](/categories/file-storage)

herrera-io/file-locator
=======================

A simple file locator library.

1.0.0(13y ago)192.4k41MITPHPPHP &gt;=5.3.3

Since Jan 16Pushed 13y agoCompare

[ Source](https://github.com/kherge-archive/php-file-locator)[ Packagist](https://packagist.org/packages/herrera-io/file-locator)[ Docs](https://herrera-io.github.com/php-file-locator)[ RSS](/packages/herrera-io-file-locator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (1)

File Locator
============

[](#file-locator)

[![Build Status](https://camo.githubusercontent.com/58a366fca9b6c7210a9ae2d9ba693b6049ee64fc85cc83ac2eda45a6b583ebb0/68747470733a2f2f7472617669732d63692e6f72672f686572726572612d696f2f7068702d66696c652d6c6f6361746f722e706e67)](http://travis-ci.org/herrera-io/php-file-locator)

A simple file locator library.

Summary
-------

[](#summary)

The **FileLocator** library was created to provide file locating capabilities to a larger project. It can be used in templating engines, configuration file loaders, and more.

Installation
------------

[](#installation)

Add it to your list of Composer dependencies:

```
$ composer require herrera-io/file-locator=1.*
```

Usage
-----

[](#usage)

The library includes `FileSystemLocator`, which can be used to search one or more directory paths. Either a single directory path, or an array of paths may be passed to the constructor.

```
