Download the PHP package wshafer/psr11-flysystem without Composer

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

codecov Scrutinizer Code Quality Build Status

PSR-11 FlySystem

FlySystem Version 1 Factories for PSR-11

Deprecated

This library has been depricated and moved. Please see the new module blazon/psr11-flysystem for the latest release.

Table of Contents

Installation

Usage

Additional info can be found in the documentation

Containers

Any PSR-11 container wil work. In order to do that you will need to add configuration and register a new service that points to WShafer\PSR11FlySystem\FlySystemFactory

Below are some specific container examples to get you started

Pimple Example

Zend Service Manager

Frameworks

Any framework that use a PSR-11 should work fine. Below are some specific framework examples to get you started

Zend Expressive

You'll need to add configuration and register the services you'd like to use. There are number of ways to do that but the recommended way is to create a new config file config/autoload/flySystem.global.php

Configuration

config/autoload/flySystem.global.php

Zend Framework 3

You'll need to add configuration and register the services you'd like to use. There are number of ways to do that but the recommended way is to create a new config file config/autoload/flySystem.global.php

Configuration

config/autoload/flySystem.global.php

Module Config

If you're not using the Zend Component Installer you will also need to register the Module.

config/modules.config.php (ZF 3 skeleton)

config/application.config.php (ZF 2 skeleton)

Symfony

While there are other Symfony bundles out there, as of Symfony 3.3 the service container is now a PSR-11 compatible container. The following config below will get these factories registered and working in Symfony.

Configuration

app/config/config.yml (or equivalent)

Container Service Config

app/config/services.yml

Example Usage

src/AppBundle/Controller/DefaultController.php

Slim

public/index.php

Configuration

Fly System uses three types of services that will each need to be configured for your application. In addition you will need to create a named service that maps to the \WShafer\PSR11FlySystem\FlySystemFactory based on the container you are using.

Minimal Configuration

A minimal configuration would consist of at least defining one service and the "default" adaptor.

Minimal Example (using Zend Expressive for the example)

Using this setup you will be using the "default" file system with the "default" adaptor. In this example we will be using the local file adaptor as the default.

Full Configuration

Note: An "default" adaptor is required.

Full Example

File System

Adaptors

Example configs for supported adaptors

Null/Test

FlySystem Docs: Null Adaptor

Local

FlySystem Docs: Local Adaptor

FTP

FlySystem Docs: FTP

SFTP

Install

Config

FlySystem Docs: SFTP

Memory

Install

Config

FlySystem Docs: Memory

Zip Archive

Install

Config

FlySystem Docs: Zip Archive

Azure

Install

Config

FlySystem Docs: Azure Adaptor

AWS S3

Note: AWS V2 is not supported in this package

Install

Config

FlySystem Docs: Aws S3 Adapter - SDK V3

DropBox

Install

Config

FlySystem Docs: DropBox

Caches

Example configs for supported caches

Memory/Test

FlySystem Docs: Caching

Adaptor

This cache adaptor will use another adaptor to store the cache to file to. It will pull this file system from the existing manager.

FlySystem Docs: Caching

PSR-6

FlySystem Docs: Unknown

Predis

FlySystem Docs: Caching

Memcached

FlySystem Docs: Caching

Stash

See: PSR6

Note: While "The League" provides a native cache client, Stash itself already implements a PSR 6 interface. It is recommended to use that instead.

Upgrades

Version 1 to Version 2

When upgrading from version 1 to version 2, there shouldn't be any changes needed. Please note that using the FlySystemManager directly is no longer recommended. Named services should be used instead. See above for more info.

Changes

All versions of psr11-flysystem with dependencies

PHP Build Version
Package Version
No informations.
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 wshafer/psr11-flysystem contains the following files

Loading the files please wait ....