https://github.com/kisphp/php-sftp-client
https://github.com/kisphp/php-sftp-client
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/kisphp/php-sftp-client
- Owner: kisphp
- Created: 2016-09-23T12:57:13.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-01-28T13:34:41.000Z (about 4 years ago)
- Last Synced: 2025-11-27T15:20:48.511Z (4 months ago)
- Language: PHP
- Homepage:
- Size: 10.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Simple PHP SFTP Client

## Installation
Add in composer:
```json
{
"require": {
"kisphp/php-sftp-client": "~0.1"
}
}
```
## Usage
Create a config class that implements `ConfigInterface`
```php
sendFile(__DIR__ . '/source.php', 'b.php'); // will return true for success and false for failure
```
## Download a file
```php
$s->receiveFile('a.php', 'c.php'); // will return true for success and false for failure
```