speedy / ftp-client
A simple PHP FTP client
Installs: 8 168
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 1
Requires
- php: ^7.1.0
Requires (Dev)
- phpunit/phpunit: ^6.5
- symfony/var-dumper: ^3.1
This package is not auto-updated.
Last update: 2024-11-10 05:40:35 UTC
README
Speedy FTP client is a package component for simple communication with the ftp server written in php.
Requirements
- >= php 7.1
Installation
$ composer require speedy/ftp-client
Usage
Basic initialization and class usage for the most used ftp server operations
require_once __DIR__ . '/vendor/autoload.php'; use Speedy\FTP\Connection\Connection; use Speedy\FTP\SimpleFTPClient; $connection = new Connection('host', 'login', 'password'); $client = new SimpleFTPClient($connection); // shows the list of folders and files in the root server var_dump($client->nlist('/'));
Tests
This package contains the basic tests that provide a good basis for further development