dev-master
9999999-dev https://github.com/mean-cj/laravel-fastimageLaravel Fastimage Helper Library inspired by tommoor
MIT
The Requires
- php >=5.1
- lib-curl *
by Tom Moor
laravel php fastimage fastimage-laravel
Wallogit.com
2017 © Pedro Peláez
Laravel Fastimage Helper Library inspired by tommoor
FastImage finds the dimensions or filetype of a remote image file given its uri by fetching as little as needed, based on the excellent Ruby implementation by Stephen Sykes., (*1)
make by https://github.com/tommoor/fastimage, (*2)
<?php require 'Fastimage.php'; $uri = "http://farm9.staticflickr.com/8151/7357346052_54b8944f23_b.jpg"; // loading image into constructor $image = new FastImage($uri); list($width, $height) = $image->getSize(); echo "dimensions: " . $width . "x" . $height; // or, create an instance and use the 'load' method $image = new FastImage(); $image->load($uri); $type $image->getType(); echo "filetype: " . $type;
FastImage is released under the MIT license. It is simple and easy to understand and places almost no restrictions on what you can do with the software. More Information, (*3)
Releases are available for download from GitHub., (*4)
Laravel Fastimage Helper Library inspired by tommoor
MIT
laravel php fastimage fastimage-laravel