include 'vendor/autoload.php';
use \Porox\Dropmefiles\Client\CreateFileConfig;
use \Porox\Dropmefiles\Client\PeriodTypes;
$httpClient = new \GuzzleHttp\Client(['']);
$client = \Porox\Dropmefiles\Client\DropmefilesClientFactory::create($httpClient);
$config = new CreateFileConfig();
$config->addFile(new SplFileInfo(__DIR__.'/README.md'));
$config->setNeedPassword(true);
$config->setPeriod(PeriodTypes::DAYS_3);
$resp =$client->sendFiles($config);
var_dump($resp);
forked from porox/DropMeFilesClient
-
Notifications
You must be signed in to change notification settings - Fork 0
AlexandrErohin/DropMeFilesClient
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
PHP client dropmefiles.com
Resources
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- PHP 97.7%
- Makefile 2.3%