nevadskiy / downloader

⬇️ Download files using PHP and cURL.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

⬇️ Download files using PHP and cURL.

License:MIT License


Languages

Language:PHP 87.2%Language:JavaScript 6.9%Language:Makefile 3.4%Language:Dockerfile 2.3%Language:Shell 0.2%