/laravel-curlftp

The curl-ftp filesystem (the wrapper) with laravel.

Primary LanguagePHPMIT LicenseMIT

Laravel curl-ftp

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

Latest Version on Packagist Build Status Total Downloads

Installation

You can install the package via composer:

composer require yish/laravel-curlftp

Requirement

Laravel 5.8 or later.

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',
],

Changelog

Please see CHANGELOG for more information what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email mombuartworks@gmail.com instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.