PHPackages                             orchestra/imagine - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. orchestra/imagine

ActiveLibrary[Image &amp; Media](/categories/media)

orchestra/imagine
=================

Imagine (Wrapper) Component for Laravel

v6.0.0(5y ago)70207.0k↑10.5%13[1 issues](https://github.com/orchestral/imagine/issues)3MITPHPPHP ^7.3 || ^8.0

Since Sep 18Pushed 5y ago4 watchersCompare

[ Source](https://github.com/orchestral/imagine)[ Packagist](https://packagist.org/packages/orchestra/imagine)[ Fund](https://paypal.me/crynobone)[ Fund](https://liberapay.com/crynobone)[ RSS](/packages/orchestra-imagine/feed)WikiDiscussions 6.x Synced 1mo ago

READMEChangelog (10)Dependencies (4)Versions (35)Used By (3)

Imagine (Wrapper) Component for Laravel
=======================================

[](#imagine-wrapper-component-for-laravel)

Imagine (Wrapper) Component is a Laravel package wrapper for [Imagine](https://github.com/avalanche123/Imagine).

[![tests](https://github.com/orchestral/imagine/workflows/tests/badge.svg?branch=6.x)](https://github.com/orchestral/imagine/actions?query=workflow%3Atests+branch%3A6.x)[![Latest Stable Version](https://camo.githubusercontent.com/caaad4b86b68191ada48c55d287f4f7c38eb1fcc2fcadb22d25cce932ab2c43e/68747470733a2f2f706f7365722e707567782e6f72672f6f72636865737472612f696d6167696e652f762f737461626c65)](https://packagist.org/packages/orchestra/imagine)[![Total Downloads](https://camo.githubusercontent.com/28c51114067e2614f262c9dd3a2d38aa49f076a87dc77cd04c041ce73c55d062/68747470733a2f2f706f7365722e707567782e6f72672f6f72636865737472612f696d6167696e652f646f776e6c6f616473)](https://packagist.org/packages/orchestra/imagine)[![Latest Unstable Version](https://camo.githubusercontent.com/96773ced88dfd4af1438ff06641fe034b27bf0ce81add145400f88d92b086f17/68747470733a2f2f706f7365722e707567782e6f72672f6f72636865737472612f696d6167696e652f762f756e737461626c65)](//packagist.org/packages/orchestra/imagine)[![License](https://camo.githubusercontent.com/412c9fc0c1fe178ab24e2cb2056d93109fc91f22cfe28cf4162b8921eeb56da2/68747470733a2f2f706f7365722e707567782e6f72672f6f72636865737472612f696d6167696e652f6c6963656e7365)](https://packagist.org/packages/orchestra/imagine)

Version Compatibility
---------------------

[](#version-compatibility)

LaravelImagine5.5.x3.5.x5.6.x3.6.x5.7.x3.7.x5.8.x3.8.x6.x4.x7.x5.x8.x6.xInstallation
------------

[](#installation)

To install through composer, run the following command from terminal:

```
composer require "orchestra/imagine"

```

Configuration
-------------

[](#configuration)

Add `Orchestra\Imagine\ImagineServiceProvider` service provider in `config/app.php`.

```
'providers' => [

    // ...

    Orchestra\Imagine\ImagineServiceProvider::class,
],
```

Add `Imagine` alias in `config/app.php`.

```
'aliases' => [

    // ...

    'Imagine' => Orchestra\Imagine\Facade::class,
],
```

Usage
-----

[](#usage)

Here a simple example how to create a thumbnail from an image:

```
