nevadskiy/downloader

Download files using PHP and Curl

0.5.2 2023-06-19 18:27 UTC

This package is auto-updated.

Last update: 2024-10-11 10:24:03 UTC


README

Stand With Ukraine

Downloader

PHPUnit Code Coverage Latest Stable Version License

⬇️ Download files using PHP and cURL.

✅ Requirements

  • PHP 7.1 or newer

🔌 Installation

Install the package via Composer:

composer require nevadskiy/downloader

🔨 Usage

Downloading a file by URL to the specified path:

use Nevadskiy\Downloader\CurlDownloader;

$downloader = new CurlDownloader();
$downloader->download('https://example.com/files/books.zip', __DIR__.'/storage/books.zip');

☕ Contributing

Thank you for considering contributing. Please see CONTRIBUTING for more information.

📜 License

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

🔨 To Do List

  • windows support