Download the PHP package dkemens/yii2-aws-s3-manager without Composer
On this page you can find all versions of the php package dkemens/yii2-aws-s3-manager. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dkemens/yii2-aws-s3-manager
More information about dkemens/yii2-aws-s3-manager
Files in dkemens/yii2-aws-s3-manager
Package yii2-aws-s3-manager
Short Description A yii2 extension for managing files in AWS S3 buckets
License GPL-3.0
Informations about the package yii2-aws-s3-manager
A Yii 2 extension for managing files in AWS S3 buckets
This extension provides a very customizable method for managing files in AWS S3 buckets for the Yii framework 2.0. It can function on it's own, as a callback for a form field, or integrated with TinyMCE.
For license information check the LICENSE-file.
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require section of your composer.json.
Configuration
To use this extension, you should add the module to your web configuration. Configuration of the module itself can be done here or on the fly.
Be certain to check the widgets folder for exposed parameters.
Use
Standalone
Simply navigate to /s3manager
With a file input (active form)
In your form, add the following (ie. views/post/form.php)
use skylineos\yii\s3manager\widgets\{FileInput, MediaManagerModal};
Wherever you want your form field:
Then, at the bottom of the page (after your `)
<?= MediaManagerModal::widget(['s3region' => 'us-east1', 's3bucket' => 'my-bucket-name']) ?>`
With TinyMCE
On your form.php
use skylineos\yii\s3manager\widgets\{TinyMce, MediaManagerModal};
Wherever you want your TinyMCE (client options are largely up to you):
Then, at the bottom of the page (after your `)
<?= MediaManagerModal::widget(['s3region' => 'us-east1', 's3bucket' => 'my-bucket-name']) ?>`
All versions of yii2-aws-s3-manager with dependencies
yiisoft/yii2 Version ~2.0.0
yiisoft/yii2-imagine Version *
aws/aws-sdk-php Version ^3.64
tinymce/tinymce Version 5.10.3
2amigos/yii2-tinymce-widget Version ~1.1
thiagotalma/yii2-jstree Version ~1.0.0
league/flysystem Version ^2.0
league/flysystem-aws-s3-v3 Version ^2.0