library silex-filesystem-provider
A Silex Provider for Symfony Filesystem component
neutron/silex-filesystem-provider
A Silex Provider for Symfony Filesystem component
- Thursday, December 14, 2017
- by romain
- Repository
- 1 Watchers
- 4 Stars
- 77,064 Installations
- PHP
- 1 Dependents
- 0 Suggesters
- 4 Forks
- 0 Open issues
- 3 Versions
- 1 % Grown
Silex Filesystem Service Provider
, (*1)
This is a Silex Service Provider
for Symfony Filesystem Component., (*2)
Installation
Add it using composer :, (*3)
{
"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();
}
Read more information about the Symfony Filesystem Component, (*4)
License
This is released under the MIT license, (*5)
dev-master
9999999-dev
A Silex Provider for Symfony Filesystem component
Sources
Download
MIT
The Requires
The Development Requires
filesystem
silex
temporary-filesystem
2.0.0
2.0.0.0
A Silex Provider for Symfony Filesystem component
Sources
Download
MIT
The Requires
The Development Requires
filesystem
silex
temporary-filesystem
1.0.0
1.0.0.0
A Silex Provider for Symfony Filesystem component
Sources
Download
MIT
The Requires
filesystem
silex
temporary-filesystem