smartest-edu / flysystem-public-url-plugin
Plugin for Flysystem to expose the public url.
Installs: 210
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 11
Forks: 0
Open Issues: 0
pkg:composer/smartest-edu/flysystem-public-url-plugin
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)