alexs/image-grabber

Image Grabber

Installs: 34

Dependents: 0

Suggesters: 0

Security: 0

Type:php-classes

1.0.6-stable 2017-09-21 12:16 UTC

This package is auto-updated.

Last update: 2025-03-27 18:15:39 UTC


README

Image Grabber

Example

<?php
use alexs\image\grabber\Grabber;

$url = 'https://lh4.googleusercontent.com/-v0soe-ievYE/AAAAAAAAAAI/AAAAAAADwkE/KyrKDjjeV1o/photo.jpg';
var_dump(Grabber::grab($url));
var_dump(Grabber::grabUpload($url, basename($url)));