Download the PHP package collecthor/flysystem-adapters without Composer

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

Flysystem Meta Adapters

Flysystem uses adapters as an abstraction for storage implementations. This library contains a set of meta-adapters that take 1 or more adapters as their input and expose them as a normal adapter.

OverlayAdapter

While Flysystem has a mount manager, this requires explicit knowledge of the mounts on the consumer side. For separating concerns this is not ideal. Imagine just exposing an adapter to your code (via a FileSystem) and having the magic of different backends be handled on the configuration side.

The OverlayAdapter for example could allow you to have any Flysystem compatible file browser and use it to browse a virtual filesystem that consists of both real files on S3 storage, real files on local storage and virtual directories pulled from your database.

DirectoryViaPlaceholderFileAdapter

Some storages don't support directories. Many of the S3 based stores don't have directories as a concept. This adapter adds supports for directories by using a placeholder file. The idea being that a file in a path defines a directory.

MetadataCachingAdapter

Some APIs have 1 API call for getting all metadata. This adapter caches that so that you don't see multiple API requests for calls to lastModified and size on the same file. Use this only for adapters that retrieve all metadata for calls to lastModified and mimeType etc.

StripPrefixAdapter

Removes a prefix from all paths passed to the adapter. Used in combination with the OverlayAdapter to mount one adapter inside a path of another.

AddPrefixAdapter

Adds a prefix to all paths passed to the adapter. Used in combination with the OverlayAdapter to mount one adapter inside a path of another.

VirtualDirectoryListAdapter

Sometimes you want to have a directory available for each entity in your system, imagine a folder for each user. If there are many users getting the list from the storage API might be slow, but you already have the list in your local database. By using this adapter you can specify a list of directories in a specific path on the underlying adapter.

OverlayAdapter

Mount one adapter onto another using a path prefix.

EventedAdapter

This adapter uses a PSR-14 EventDispatcher to dispatch events before and after operations that modify storage. Initial use case for them is to notify CDNs to update their cache.

MoveOverwriteAdapter

This adapter wraps any other adapter and will try to force an overwrite if moving a file fails. This means upon failure it will check if the destination file exists and if so remove it and retry the move command.

EncryptionAdapter

This adapter wraps any other adapter and transparently encrypts file contents using XChaCha20-Poly1305 from the sodium extension with a single 32-byte key. Files are stored as [version:1][nonce:24][ciphertext+tag] and the additional authenticated data is independent of the path, so files remain decryptable when they are moved or copied. Only write, writeStream, read and readStream are intercepted, every other operation is passed through. fileSize() reports the size of the original contents, and publicUrl() throws since exposing the stored bytes would serve ciphertext.


All versions of flysystem-adapters with dependencies

PHP Build Version
Package Version
Requires php Version >=8.5
ext-sodium Version *
league/flysystem Version ^3.0
psr/event-dispatcher 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 collecthor/flysystem-adapters contains the following files

Loading the files please wait ...