apex/storage

Simple initialization wrapper for league/flysystem adapters

2.0 2022-01-30 21:52 UTC

This package is auto-updated.

Last update: 2024-04-29 04:47:11 UTC


README

Very simple wrapper class to allow initialzation of league/flysystem wrappers, and help provide single item within container for FileSystem.

Installation

Install via Composer with:

composer require apex/storage

Basic Usage

use Apex\Storage\Storage;

// Get file system
$fs = Storage::init('local', ['dir' => __DIR__ . '/storage']);

Support

If you have any questions, issues or feedback for Syrus, please feel free to drop a note on the ApexPl Reddit sub for a prompt and helpful response.

Follow Apex

Loads of good things coming in the near future including new quality open source packages, more advanced articles / tutorials that go over down to earth useful topics, et al. Stay informed by joining the mailing list on our web site, or follow along on Twitter at @mdizak1.