1
0
mirror of https://github.com/Intervention/image.git synced 2025-02-06 22:00:38 +01:00
intervention_image/README.md
2014-05-21 11:46:42 +02:00

1.3 KiB
Executable File

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 4 integration.

Build Status

Requirements

  • PHP >=5.3
  • Fileinfo Extension

Supported Image Libraries

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

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.

License

Intervention Image is licensed under the MIT License.

Copyright 2014 Oliver Vogel