⬇️ Download files using PHP and cURL.
- PHP 7.1 or newer
Install the package via Composer:
composer require nevadskiy/downloader
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');
Thank you for considering contributing. Please see CONTRIBUTING for more information.
The MIT License (MIT). Please see LICENSE for more information.
- windows support