Download the PHP package bestyii/yii2-aliyun-oss without Composer

On this page you can find all versions of the php package bestyii/yii2-aliyun-oss. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package yii2-aliyun-oss

yii2-aliyun-oss

阿里云对象存储(OSS)基于flysystem Yii2 扩展

Packagist Version Total Downloads

本扩展的文件管理系统,采用 Flysystem,通过 Yii2扩展creocoder/yii2-flysystem将其集成到Yii2框架中。

通过阿里云OSS的适配器OssAdapter,将两者结合在一起。

目的:标准化文件管理的接口,方便迁移到其他云平台。

安装

The preferred way to install this extension is through composer.

执行安装命令

或添加以下

composer.json 文件的 require 部分.

配置

配置Yii的 components 如下:

使用

Writing files

To write file

To write file using stream contents

Updating files

To update file

To update file using stream contents

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

Reading and deleting files

To read and delete file

Renaming files

To rename 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

Listing paths

To list paths

Listing with ensured presence of specific metadata

To list with ensured presence of specific metadata

Getting file info with explicit metadata

To get file info with explicit metadata


All versions of yii2-aliyun-oss with dependencies

PHP Build Version
Package Version
Requires php Version >=7.0
creocoder/yii2-flysystem Version ^0.9.3
xxtime/flysystem-aliyun-oss Version ^1.4
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package bestyii/yii2-aliyun-oss contains the following files

Loading the files please wait ....