Image handling and manipulation library with support for Laravel integration
18,826,962
8,934
276
Package Data
Maintainer Username: olivervogel
Maintainer Contact: oliver@olivervogel.com (Oliver Vogel)
Package Create Date: 2013-01-19
Package Last Update: 2019-01-31
Home Page: http://image.intervention.io
Language: PHP
License: MIT
Last Refreshed: 2019-03-20 03:39:30
Package Statistics
Total Downloads: 18,826,962
Monthly Downloads: 752,000
Daily Downloads: 33,225
Total Stars: 8,934
Total Watchers: 276
Total Forks: 1,036
Total Open Issues: 266

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.

Latest Version Build Status Monthly Downloads

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 official 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 2017 Oliver Vogel