koine / asset-downloader
Downloads assets from a website
v1.0
2016-04-04 14:11 UTC
Requires
- php: >=5.4
- guzzlehttp/guzzle: ~6.1
- league/flysystem: ~1.0.17
- psr/http-message: ~1.0
Requires (Dev)
- phpunit/phpunit: ~4.8.21
- satooshi/php-coveralls: ~1.0.0
This package is not auto-updated.
Last update: 2024-11-09 18:54:12 UTC
README
Downloads assets from a website
Code information:
Package information:
Usage
<?php use Koine\AssetDownloader\AssetDownloader; use Psr\Http\Message\UriInterface; $assetDownloader = new AssetDownloader(); $assetDownloader ->from('https://example.com') ->to(realpath('./public')); $downloader->download(new Uri('http://localhost/images/image-on-production-website.jpg'));
Installing
composer require koine/asset-downloader
Issues/Features proposals
Here is the issue tracker.