Download the PHP package selden1992/think-flysystem without Composer

On this page you can find all versions of the php package selden1992/think-flysystem. 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 think-flysystem

think-filesystem

think PHP5集成Filesystem

think-filesystem基于 Frank de Jonge 开发的 PHP 包 Flysystem 提供了强大的文件系统抽象。think-filesystem 文件系统集成是中文化和简单化,当然也做了一下本地化封装。

安装

The preferred way to install this extension is through composer.

Either run

or add

to the require section of your composer.json file.

配置

复制 /vendor/selden1992/think-flysystem/config/flysystem.php 到 CONF_PATH.'extra/flysystem.php'

如果ftp提示不能写,可以设置一个777权限的目录调试是否权限影响到

普通使用

alias目录别名的作用在于快捷更换目录,例如开发阶段,log_alias指向root/log/下,部署阶段更改为 web/log/

其他使用方法和flysystem一致

API 一般用法

写文件

更新文件

写或更新文件

读取文件

检查文件是否存在

注意:这只对文件而不是目录具有一致的行为。在Flysystem中,目录不太重要,它们是隐式创建的,常常被忽略,因为不是每个适配器(文件系统类型)都支持目录。

删除文件

读取和删除

重命名文件

复制文件

获取Mimetypes

获取时间戳

获取文件大小

创建目录

当写入更深的路径时,也隐含地指定了目录

删除目录

上述方法将递归删除目录

注意:Flysystem API使用的所有路径都是相对于适配器根目录的。


All versions of think-flysystem with dependencies

PHP Build Version
Package Version
Requires php Version >=5.6.4
league/flysystem Version ^1.0
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 selden1992/think-flysystem contains the following files

Loading the files please wait ....