1
0
mirror of https://github.com/Intervention/image.git synced 2025-02-25 06:32:59 +01:00
mmjjb 41354525c9 Update URL function, with browser headers
Several image providers have detection for which user agent is being used. 
Since I had several times issue's with that images where unavailable for Intervention since an missing user agent, I decided to add this header to get rid of the problems.
2017-01-20 14:23:49 +01:00
2015-12-21 09:40:41 +01:00
2015-06-28 17:45:46 +02:00
2015-07-10 16:44:25 +02:00
v2
2014-05-10 20:35:01 +02:00
v2
2014-05-10 20:35:01 +02:00
2015-06-28 17:55:12 +02:00

Intervention Image

Intervention Image is a PHP image handling and manipulation library providing an easier and expressive way to create, edit, and compose images. The package includes ServiceProviders and Facades for easy Laravel integration.

Build Status

Requirements

  • PHP >=5.4
  • Fileinfo Extension

Supported Image Libraries

  • GD Library (>=2.0)
  • Imagick PHP extension (>=6.5.7)

Getting started

Code Examples

// open an image file
$img = Image::make('public/foo.jpg');

// resize image instance
$img->resize(320, 240);

// insert a watermark
$img->insert('public/watermark.png');

// save image in desired format
$img->save('public/bar.jpg');

Refer to the documentation to learn more about Intervention Image.

Contributing

Contributions to the Intervention Image library are welcome. Please note the following guidelines before submiting your pull request.

  • Follow PSR-2 coding standards.
  • Write tests for new functions and added features
  • API calls should work consistently with both GD and Imagick drivers

License

Intervention Image is licensed under the MIT License.

Copyright 2014 Oliver Vogel

Description
No description provided
Readme 11 MiB
Languages
PHP 100%