nevadskiy / downloader
Download files using PHP and Curl
0.5.2
2023-06-19 18:27 UTC
Requires
- php: ^7.1|^8.0
- ext-curl: *
- psr/log: ^1.0|^2.0|^3.0
- symfony/mime: ^4.4|^5.0|^6.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.19
- phpunit/phpunit: ^6.0|^8.5.14
README
Downloader
⬇️ 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