Laravel curlftp

Star Total Downloads Build Status Latest Stable Version

This package is simple to provide vladimir-yuldashev/flysystem-curlftp facade(wrapper) with laravel.

Installation

You can install the package via composer:

composer require yish/laravel-curlftp

Requirement

Laravel 5.8 or 6.*

Usage

In your config/filesystems.php, adding driver to support.

'curlftp' => [
    'driver'   => 'curl-ftp',
    'host' => 'ftp.example.com',
    'username' => 'username',
    'password' => 'password',
    
    /** optional config settings */
    'port' => 21,
    'root' => '/path/to/root',
    'utf8' => true,
    'ssl' => true,
    'timeout' => 90,		// connect timeout
    'sslVerifyPeer' => 0, // using 0 is insecure, use it only if you know what you're doing
    'sslVerifyHost' => 0, // using 0 is insecure, use it only if you know what you're doing
    
    /** proxy settings */
    'proxyHost' => 'proxy-server.example.com',
    'proxyPort' => 80,
    'proxyUsername' => 'proxyuser',
    'proxyPassword' => 'proxypassword',
],