Download the PHP package webalternatif/flysystem-dsn without Composer

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

Flysystem DSN

Source code Packagist Version Software license GitHub issues \ Test status Psalm coverage Psalm level Mutation testing badge

A set of factories to build Flysystem adapters from DSN strings, like:

Installation

Because this package does not explicitely require inner adapters, you will have to composer require them yourself in your project.\ See the adapters section to know how to install them.

Usage

Adapters

AWS S3

Inner adapter league/flysystem-aws-s3-v3
Install composer require league/flysystem-aws-s3-v3
Factory class Webf\Flysystem\Dsn\AdapterFactory\AwsS3AdapterFactory
DSN s3://username:password@endpoint?region=region&bucket=bucket

Optional DSN parameters

Failover

Inner adapter webalternatif/flysystem-failover-bundle
Install composer require webalternatif/flysystem-failover-bundle
Factory class Webf\Flysystem\Dsn\AdapterFactory\FailoverAdapterFactory
DSN failover(inner1:// inner2:// ...)?name=name

Ftp

Inner adapter league/flysystem-ftp
Install composer require league/flysystem-ftp
Factory class Webf\Flysystem\Dsn\AdapterFactory\FtpAdapterFactory
DSN ftp://username:password@host:port/absolute/path

Optional DSN parameters

In memory

Inner adapter league/flysystem-memory
Install composer require league/flysystem-memory
Factory class Webf\Flysystem\Dsn\AdapterFactory\InMemoryAdapterFactory
DSN in-memory://

Optional DSN parameters

Lazy

This adapter allows deferring the creation of the inner adapter until it is actually used (i.e., when Flysystem's methods are called). This is useful when you don't want an adapter to be created, but you need to have it somewhere (e.g., in a service container), and the creation of the adapter is expensive (e.g., it makes a network request).

The drawback is that you have to make sure the DSN of the inner adapter is valid, otherwise an exception will be thrown at "usage" time.

Inner adapter Webf\Flysystem\Dsn\Adapter\LazyAdapter
Factory class Webf\Flysystem\Dsn\AdapterFactory\LazyAdapterFactory
DSN lazy(inner://)

Local

Inner adapter Built-in with league/flysystem
Factory class Webf\Flysystem\Dsn\AdapterFactory\LocalAdapterFactory
DSN local://absolute_or_relative_path

Optional DSN parameters

OpenStack Swift

Inner adapter webalternatif/flysystem-openstack-swift
Install composer require webalternatif/flysystem-openstack-swift
Factory class Webf\Flysystem\Dsn\AdapterFactory\OpenStackSwiftAdapterFactory
DSN swift://username:password@endpoint?region=region&container=container

Optional DSN parameters

Prefix

Inner adapter league/flysystem-path-prefixing
Install composer require league/flysystem-path-prefixing
Factory class Webf\Flysystem\Dsn\AdapterFactory\PrefixAdapterFactory
DSN prefix(inner://)?path=some/prefix/path

ReadOnly

Inner adapter league/flysystem-read-only
Install composer require league/flysystem-read-only
Factory class Webf\Flysystem\Dsn\AdapterFactory\ReadOnlyAdapterFactory
DSN readonly(inner://)

Sftp

Inner adapter league/flysystem-sftp-v3
Install composer require league/flysystem-sftp-v3
Factory class Webf\Flysystem\Dsn\AdapterFactory\SftpAdapterFactory
DSN sftp://username:password@host:port/absolute/path

Optional DSN parameters

Tests

To run all tests, execute the command:

This will run Psalm, PHPUnit, Infection and a PHP-CS-Fixer check, but you can run them individually like this:


All versions of flysystem-dsn with dependencies

PHP Build Version
Package Version
Requires php Version 8.2.* || 8.3.* || 8.4.*
league/flysystem Version ^3.0
nyholm/dsn Version ^2.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 webalternatif/flysystem-dsn contains the following files

Loading the files please wait ....