PHPackages                             otisz/laravel-imgix - 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. otisz/laravel-imgix

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

otisz/laravel-imgix
===================

v3.2.0(5y ago)1419.4k4[1 issues](https://github.com/Otisz/Laravel-Imgix/issues)MITPHPPHP ^7.1

Since Feb 18Pushed 5y ago2 watchersCompare

[ Source](https://github.com/Otisz/Laravel-Imgix)[ Packagist](https://packagist.org/packages/otisz/laravel-imgix)[ RSS](/packages/otisz-laravel-imgix/feed)WikiDiscussions V3 Synced yesterday

READMEChangelogDependencies (3)Versions (21)Used By (0)

Laravel Imgix
=============

[](#laravel-imgix)

[![Latest Stable Version](https://camo.githubusercontent.com/164440d71c5c25a32e7928691c6e9fa06e952da2370dbb5bfcffbe83698b6e05/68747470733a2f2f706f7365722e707567782e6f72672f6f7469737a2f6c61726176656c2d696d6769782f762f737461626c65)](https://packagist.org/packages/otisz/laravel-imgix)[![Build Status](https://github.com/Otisz/Laravel-Imgix/workflows/tests/badge.svg)](https://github.com/Otisz/Laravel-Imgix/actions)[![Total downloads](https://camo.githubusercontent.com/259aa201a0df4991a627b9ffd106ebe3cabac97995f656a691a5660311f5032c/68747470733a2f2f706f7365722e707567782e6f72672f6f7469737a2f6c61726176656c2d696d6769782f646f776e6c6f616473)](https://packagist.org/packages/otisz/laravel-imgix/stats)[![Licence](https://camo.githubusercontent.com/a2d982709ebc8b3397358f4e0776ad46761f1b1bfc16dba2c8438d17c24679bf/68747470733a2f2f706f7365722e707567782e6f72672f6f7469737a2f6c61726176656c2d696d6769782f6c6963656e7365)](https://packagist.org/packages/otisz/laravel-imgix)

Laravel package for generating [Imgix](https://www.imgix.com) URLs for your images.

Dependencies
------------

[](#dependencies)

- [PHP](https://secure.php.net): ^7.2
- [imgix/imgix-php](https://github.com/imgix/imgix-php): ^3.3
- [illuminate/support](https://github.com/illuminate/support): 6.\* | 7.\* | 8.\*

Install
-------

[](#install)

You can install the package via [Composer](https://getcomposer.org/)

```
$ composer require otisz/laravel-imgix
```

In Laravel 5.5 or above the service provider will automatically get registered. In older versions of the framework just add the service provider in `config/app.php` file:

```
'providers' => [
    ...
    Otisz\Imgix\ImgixServiceProvider::class,
    ...
],

'aliases' => [
    ...
    'Imgix' =>  Otisz\Imgix\Facades\Imgix::class,
    ...
],
```

You can publish the config file with:

```
$ php artisan vendor:publish --provider="Otisz\Imgix\ImgixServiceProvider" --tag=config
```

When published, [the `config/imgix.php` config](config/imgix.php) file contains:

```
