Download the PHP package gaufrette/extras without Composer
On this page you can find all versions of the php package gaufrette/extras. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download gaufrette/extras
More information about gaufrette/extras
Files in gaufrette/extras
Download gaufrette/extras
More information about gaufrette/extras
Files in gaufrette/extras
Vendor gaufrette
Package extras
Short Description Provides extra features (prefixed fs, resolvable fs) to Gaufrette
License MIT
Package extras
Short Description Provides extra features (prefixed fs, resolvable fs) to Gaufrette
License MIT
Please rate this library. Is it a good library?
Informations about the package extras
Gaufrette Extras
Provides extras functionality around Gaufrette like Resolvable filesystem.
Resolvable filesystem
ResolvableFilesystem
is a decorator permitting to resolve objects paths into URLs.
In order to use it, you have to pass the decorated Filesystem and a Resolver:
$client = // AwsS3 client instantiation
$decorated = new Filesystem(new AwsS3($client, 'my_bucket', ['directory' => 'root/dir']));
$filesystem = new ResolvableFilesystem(
$decorated,
new AwsS3PresignedUrlResolver($client, 'my_bucket', 'root/dir', new \DateTime('+ 1 hour'))
);
Then you can call resolve($key)
:
$filesystem->resolve('/foo.png'); // = 'https://...
Currently these resolvers are supported:
- AwsS3PublicUrlResolver
- AwsS3PresignedUrlResolver
- StaticUrlResolver
All versions of extras with dependencies
PHP Build Version
Package Version
Requires
knplabs/gaufrette Version
~0.4
The package gaufrette/extras contains the following files
Loading the files please wait ....