vector88/laravel-gaefs

Google App Engine Filesystem Support for Laravel 5.4

1.0.0 2017-06-04 11:57 UTC

This package is not auto-updated.

Last update: 2024-11-23 00:42:17 UTC


README

Google App Engine (GAE) Filesystem Support for Laravel 5.4.

This package is made from GAE filesystem code included in Ron Shpasser's Laravel 5 GAE Support Library (Released under the MIT License).

Installation

  1. Require the laravel-gaefs package in your Laravel project.

    composer require vector88/laravel-gaefs

  2. Add the GaeFsServiceProvider to the providers array in config/app.php:

    'providers' => [
        ...
        Vector88\GaeFs\GaeFsServiceProvider::class,
        ...
    ],
  3. Add a 'gae' disk to config/filesystem.php:

    'disks' => [
        ...
        'gae' => [
            'driver' => 'gae',
            'root' => env( 'GAE_FILESYSTEM_ROOT', storage_path() . '/app.php' ),
        ],
        ...
    ],
  4. Update your environment variables to use the GAE filesystem:

    FILESYSTEM = gae

Author

Daniel 'Vector' Kerr vector.kerr@gmail.com