Download the PHP package biller/yii2-flysystem without Composer
On this page you can find all versions of the php package biller/yii2-flysystem. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package yii2-flysystem
Flysystem (3.0) Extension for Yii 2
Notice: Only adapts AWS S3, InMemory and local filesystems.
Based on: https://github.com/creocoder/yii2-flysystem
This extension provides Flysystem 3.0 integration for the Yii framework. Flysystem is a filesystem abstraction which allows you to easily swap out a local filesystem for a remote one.
Installation
The preferred way to install this extension is through composer.
Either run
or add
to the require
section of your composer.json
file.
Configuring
Local filesystem
Configure application components
as follows
AWS S3 filesystem
Either run
or add
to the require
section of your composer.json
file and configure application components
as follows
Global visibility settings
Configure fsID
application component as follows
Usage
Writing or updating files
To write or update file
To write or update file using stream contents
Reading files
To read file
To retrieve a read-stream
Checking if a file exists
To check if a file exists
Deleting files
To delete file
Getting files mimetype
To get file mimetype
Getting files timestamp
To get file timestamp
Getting files size
To get file size
Creating directories
To create directory
Directories are also made implicitly when writing to a deeper path
Deleting directories
To delete directory
Managing visibility
Visibility is the abstraction of file permissions across multiple platforms. Visibility can be either public or private.
You can also change and check visibility of existing files
Listing contents
To list contents
By default Flysystem lists the top directory non-recursively. You can supply a directory name and recursive boolean to get more precise results
All versions of yii2-flysystem with dependencies
league/flysystem Version ^3.0
league/flysystem-aws-s3-v3 Version ^3.27
league/flysystem-memory Version ^3.0
yiisoft/yii2 Version ^2.0