Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on May 7, 2024 via composer

intervention/image 3.5.1

PHP image manipulation
Package summary
Share
0
issues
1
license
2
MIT
Package created
19 Jan 2013
Version published
22 Mar 2024
Maintainers
1
Total deps
2
Direct deps
1
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
2 Packages, Including:
intervention/gif@4.1.0
intervention/image@3.5.1
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

1
All Dependencies CSV
β“˜ This is a list of intervention/image 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities
intervention/gif4.1.0-MIT
prod

Visualizations

Frequently Asked Questions

What does intervention/image do?

Intervention Image is an image handling and manipulation library written in PHP. It provides an easy and expressive way to create, edit, and compose images. The library boasts an interchangable driver architecture and supports animated images. It allows for common tasks to be performed through a simple interface and can function with either the GD Library or the Imagick PHP extension as the base layer for all operations.

How do you use intervention/image?

Using Intervention Image is done primarily through the ImageManager class. A typical workflow might look like this:

// Create an ImageManager with your desired driver
$manager = new ImageManager('gd');

// Open an image file
$image = $manager->read('images/example.gif');

// Resize the image instance
$image->resize(height: 300);

// Insert a watermark
$image->place('images/watermark.png');

// Encode the edited image
$encoded = $image->toJpg();

// Save the encoded image
$encoded->save('images/example.jpg');

To install Intervention Image in your project, use Composer:

composer require intervention/image

Where are the intervention/image docs?

The official documentation for Intervention Image can be found at https://image.intervention.io/v3/. It covers the basics of using the library, offers examples to help get you started, and provides a thorough reference for the library's features and capabilities.