2017 © Pedro Peláez
 

library laravel-flysystem-service

Automatically registers every Flysystem adapter it recognizes as a Laravel Filesystem Driver.

image

danhunsaker/laravel-flysystem-service

Automatically registers every Flysystem adapter it recognizes as a Laravel Filesystem Driver.

  • Monday, July 4, 2016
  • by danhunsaker
  • Repository
  • 1 Watchers
  • 2 Stars
  • 779 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 11 Versions
  • 4 % Grown

The README.md

Laravel Flysystem Service

Software License Liberapay receiving, (*1)

Latest Stable Version Latest Unstable Version Build Status Codecov Total Downloads, (*2)

Registers recognized Flysystem adapters with Laravel automatically., (*3)

This lets you use other 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., (*4)

Note: This package only recognizes the adapters officially supported by [The PHP League][] - for other adapters, install danhunsaker/laravel-flysystem-others instead (it will pull in this package as a dependency)., (*5)

Installation

The usual methods for using Composer apply here:, (*6)

composer require danhunsaker/laravel-flysystem-service

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:, (*7)

// In config/app.php

    'providers' => [
        // ...
        Danhunsaker\Laravel\Flysystem\FlysystemServiceProvider::class,
        // ...
    ],

Setup

You can get example definitions for all supported filesystem drivers by publishing the replacement filesystems config - just run the following Artisan command:, (*8)

php artisan vendor:publish --provider=Danhunsaker\\Laravel\\Flysystem\\FlysystemServiceProvider --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., (*9)

Contributions

Pull requests, bug reports, and so forth are all welcome on GitHub., (*10)

Security issues should be reported directly to hennikhunsaker (plus) laraflyserv (at) gmail (dot) com., (*11)

And head to GitHub for everything else., (*12)

The Versions

04/07 2016

dev-master

9999999-dev

Automatically registers every Flysystem adapter it recognizes as a Laravel Filesystem Driver.

  Sources   Download

MIT

The Requires

 

by Daniel Hunsaker

laravel flysystem

04/07 2016

v1.2.0.1

1.2.0.1

Automatically registers every Flysystem adapter it recognizes as a Laravel Filesystem Driver.

  Sources   Download

MIT

The Requires

 

by Daniel Hunsaker

laravel flysystem

02/07 2016

v1.2.0

1.2.0.0

Automatically registers every Flysystem adapter it recognizes as a Laravel Filesystem Driver.

  Sources   Download

MIT

The Requires

 

by Daniel Hunsaker

laravel flysystem

20/05 2016

v1.1.0.1

1.1.0.1

Automatically registers every Flysystem adapter it recognizes as a Laravel Filesystem Driver.

  Sources   Download

MIT

The Requires

 

by Daniel Hunsaker

laravel flysystem

20/05 2016

v1.0.6

1.0.6.0

Automatically registers every Flysystem adapter it recognizes as a Laravel Filesystem Driver.

  Sources   Download

MIT

The Requires

 

by Daniel Hunsaker

laravel flysystem

14/05 2016

v1.0.5

1.0.5.0

Automatically registers every Flysystem adapter it recognizes as a Laravel Filesystem Driver.

  Sources   Download

MIT

The Requires

 

by Daniel Hunsaker

25/10 2015

v1.0.4

1.0.4.0

Automatically registers every Flysystem adapter it recognizes as a Laravel Filesystem Driver.

  Sources   Download

MIT

The Requires

 

by Daniel Hunsaker

24/10 2015

v1.0.3

1.0.3.0

Automatically registers every Flysystem adapter it recognizes as a Laravel Filesystem Driver.

  Sources   Download

MIT

The Requires

 

by Daniel Hunsaker

23/10 2015

v1.0.2

1.0.2.0

Automatically registers every Flysystem adapter it recognizes as a Laravel Filesystem Driver.

  Sources   Download

MIT

The Requires

 

by Daniel Hunsaker

23/10 2015

v1.0.1

1.0.1.0

Automatically registers every Flysystem adapter it recognizes as a Laravel Filesystem Driver.

  Sources   Download

MIT

The Requires

 

by Daniel Hunsaker

23/10 2015

v1.0.0

1.0.0.0

Automatically registers every Flysystem adapter it recognizes as a Laravel Filesystem Driver.

  Sources   Download

MIT

The Requires

 

by Daniel Hunsaker