Julio Montoya b62ec098a0 Updating vendors %!s(int64=11) %!d(string=hai) anos
..
src 8e32bdbe4c Updating vendors %!s(int64=11) %!d(string=hai) anos
tests 8e32bdbe4c Updating vendors %!s(int64=11) %!d(string=hai) anos
.travis.yml 8e32bdbe4c Updating vendors %!s(int64=11) %!d(string=hai) anos
LICENSE 8e32bdbe4c Updating vendors %!s(int64=11) %!d(string=hai) anos
README.md b62ec098a0 Updating vendors %!s(int64=11) %!d(string=hai) anos
composer.json 8e32bdbe4c Updating vendors %!s(int64=11) %!d(string=hai) anos
composer.lock 8e32bdbe4c Updating vendors %!s(int64=11) %!d(string=hai) anos
phpunit.xml.dist 8e32bdbe4c Updating vendors %!s(int64=11) %!d(string=hai) anos

README.md

#Silex Filesystem Service Provider

Build Status

This is a Silex Service Provider for Symfony Filesystem Component.

##Installation

Add it using composer :

{
    "require": {
        "neutron/silex-filesystem-provider": "dev-master"
    }
}

##Usage

use Silex\Application;
use Neutron\Silex\Provider\FilesystemServiceProvider;

$app = new Application();
// Register the filesystem
$app->register(new FilesystemServiceProvider());

// Just use it as any Silex service
if (!$app['filesystem']->exists('any-absolute-or-relative-path...')) {
	throw new \Namespace\PathNotFoundCustomException();
}

###Informations Read more informations about the Symfony2 Filesystem Component

##License

This is released under the MIT license