smartest-edu / flysystem-public-url-plugin
This package is abandoned and no longer maintained.
No replacement package was suggested.
Plugin for Flysystem to expose the public url.
v1.1.1
2015-07-21 01:20 UTC
Requires
Requires (Dev)
This package is not auto-updated.
Last update: 2022-04-16 04:04:48 UTC
README
This is a Flysystem Plugin that adds the ability to get the public url for a file on a filesystem.
Currently supported Adapters:
Badges
Installation
Using composer:
composer require smartest-edu/flysystem-public-url-plugin
Enabling
Symfony2 via OneupFlysystemBundle
app/config/config.yml
oneup_flysystem:
filesystems:
default:
adapter: yourAwss3v2Adapter
plugins:
- smartestedu.flysystem.public_url_plugin
services:
smartestedu.flysystem.public_url_plugin:
class: SmartestEdu\FlysystemPublicUrlPlugin\AwsUrlPlugin
Useage
$publicUrl = $filesystem->getPublicUrl($filename)