blackpanda-media / ftp-client
A simple PHP FTP client
Installs: 2 944
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1
Open Issues: 0
Requires
- php: 8.0.* || 8.1.*
- ext-ftp: *
Requires (Dev)
- friendsofphp/php-cs-fixer: 3.*
- phpmd/phpmd: 2.*
- phpunit/phpunit: 9.*
- roave/security-advisories: dev-master
- squizlabs/php_codesniffer: 3.*
This package is not auto-updated.
Last update: 2024-11-21 16:28:23 UTC
README
Speedy FTP client is a package component for simple communication with the ftp server written in php.
Requirements
- >= php 8.0
Installation
$ composer require blackpanda-media/ftp-client
Usage
Basic initialization and class usage for the most used ftp server operations
require_once __DIR__ . '/vendor/autoload.php'; use BPM\FTP\Connection\Connection; use BPM\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