Download the PHP package danhunsaker/laravel-flysystem-others without Composer

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

Laravel Flysystem Others

Gitter Liberapay receiving

Latest Stable Version Latest Unstable Version Build Status Codecov Total Downloads

Registers recognized third-party Flysystem adapters with Laravel automatically.

This lets you use third-party adapters without having to write your own service providers to load them properly. It automatically detects which adapters are available, and registers only the ones actually installed. It also detects whether the Eventable version of Flysystem is available, and if so, it switches to it, letting you listen in on Flysystem events and affect them accordingly.

NOTE: While this package only recognizes adapters NOT officially supported by The PHP League, it does depend on danhunsaker/laravel-flysystem-service, so installing this package will let you use them as well.

Installation

The usual methods for using Composer apply here:

composer require danhunsaker/laravel-flysystem-others

This package uses Laravel's auto-discovery feature for the service provider, but if you're using a Laravel version before 5.5, you do still have to register one service – but only one, and at least you don't have to write it. Be sure to REPLACE the Illuminate\Filesystem\FilesystemServiceProvider::class line with the new one:

And since FlysystemOtherServiceProvider extends FlysystemServiceProvider from danhunsaker/laravel-flysystem-service, you don't need to add it as well. In fact, doing so will probably cause some issues with your app, as both providers will attempt to handle the PHP League drivers at the same time.

Of course, you'll want to read through its README as well, to see what options it supports that this package piggy-backs on, such as those for the cache decorator.

Setup

For added flexibility, such as the ability to open ZIP files on remote storage, you can also install twistor/flysystem-stream-wrapper, which will register each of the drives in your config/filesystems.php file as a stream protocol (though only when each is accessed the first time, unless you add them to the autowrap parameter in the configuration). In the example of accessing remote ZIP files, you would then simply need to prefix the ZIP file's path with the name of the drive it's available on, as a URL scheme (something like dropbox://path/to/file.zip).

Finally, as with danhunsaker/laravel-flysystem-service, you can get example definitions for all supported filesystem drivers by publishing the replacement filesystems config - just run the following Artisan command:

php artisan vendor:publish --provider=Danhunsaker\\Laravel\\Flysystem\\FlysystemOtherServiceProvider --force

The --force flag is required to overwrite the existing filesystems config that ships with Laravel. You can also rename the existing file, then run the command without the --force flag, if you'd like to preserve the existing contents for transfer to the new file.

Supported Adapters

The best place to check for which adapters are supported by this package is the Composer suggestions, but here's a quick (not-guaranteed-up-to-date) list as well:

NOTE: If you install more than one of the adapters listed above for the same storage service, only the first one – in alphabetical order by namespace – will be used, unless otherwise noted above.

Contributions

Pull requests, bug reports, and so forth are all welcome on GitHub.

Security issues should be reported directly to danhunsaker (plus) laraflyplus (at) gmail (dot) com.

And head to GitHub for everything else.


All versions of laravel-flysystem-others with dependencies

PHP Build Version
Package Version
Requires illuminate/support Version >= 5.0
illuminate/filesystem Version >= 5.0
league/flysystem Version ^1.0
danhunsaker/laravel-flysystem-service 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 danhunsaker/laravel-flysystem-others contains the following files

Loading the files please wait ....