Skip to content

Commit

Permalink
update filesystem docs
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Feb 11, 2016
1 parent 4f0e48c commit ad0f69c
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions filesystem.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,38 @@ Before using the S3 or Rackspace drivers, you will need to install the appropria
- Amazon S3: `league/flysystem-aws-s3-v3 ~1.0`
- Rackspace: `league/flysystem-rackspace ~1.0`

#### FTP Driver Configuration

Laravel's Flysystem integrations works great with FTP; however, a sample configuration is not included with the framework's default `filesystems.php` configuration file. If you need to configure a FTP filesystem, you may use the example configuration below:

'ftp' => [
'driver' => 'ftp',
'host' => 'ftp.example.com',
'username' => 'your-username',
'password' => 'your-password',

// Optional FTP Settings...
// 'port' => 21,
// 'root' => '',
// 'passive' => true,
// 'ssl' => true,
// 'timeout' => 30,
],

#### Rackspace Driver Configuration

Laravel's Flysystem integrations works great with Rackspace; however, a sample configuration is not included with the framework's default `filesystems.php` configuration file. If you need to configure a Rackspace filesystem, you may use the example configuration below:

'rackspace' => [
'driver' => 'rackspace',
'username' => 'your-username',
'key' => 'your-key',
'container' => 'your-container',
'endpoint' => 'https://identity.api.rackspacecloud.com/v2.0/',
'region' => 'IAD',
'url_type' => 'publicURL',
],

<a name="basic-usage"></a>
## Basic Usage

Expand Down

0 comments on commit ad0f69c

Please sign in to comment.