Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Managing uploads through configuration

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 config
Octocat-spinner-32 extensions
Octocat-spinner-32 storage
Octocat-spinner-32 tests
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.md
README.md

File System plugin for the Lithium Framework

Installation

Checkout the code to your library directory:

cd libraries
git clone git@github.com:/mariuskubilius/li3_filesystem.git

Include the library in in your /app/config/bootstrap/libraries.php

Libraries::add('li3_filesystem');

Configuration

Local filesystem configurations would look something like:

use li3_filesystem\storage\FileSystem;

FileSystem::config(array(
    'default' => array(
        'adapter' => 'File',
    ),
));

Stream based configurations would look something like:

use li3_filesystem\storage\FileSystem;

FileSystem::config(array(
    'ftp' => array(
        'adapter' => 'Stream',
        'wrapper' => 'ftp',
        'path' => 'user:password@example.com/pub/'
    }
));
Something went wrong with that request. Please try again.