New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

nasyrov/laravel-imgix

Laravel package for generating URLs with Imgix.
47,534 14

Larablocks Analysis

nasyrov/laravel-imgix works with Laravel 6 (latest release 1.1.0, Jun 21, 2020), which reached end of life on Sep 6, 2022: no more fixes, even for security.

Laravel 5 in earlier releases.

Recommendation checks

Not advised

Not advised: no release or commit in over 2 years.

  • No release or commit in over 2 years
  • Supports only Laravel 6, past end of life since Sep 6, 2022
  • No release in the last 12 months (last: Jun 21, 2020)
  • 0 downloads a month (needs 10,000)
  • 14 GitHub stars (needs 100)

State

Likely abandoned
  • No release or commit in over 2 years.
  • Last stable release: Jun 21, 2020.
  • No releases in the last 12 months.
  • First released: Jun 11, 2017.
  • 3 open issues on GitHub.

Data from Packagist and GitHub, checked by Larablocks on Dec 1, 2026.

Install
composer require nasyrov/laravel-imgix
Latest Version:1.1.0
PHP:>=7.2
Laravel:6
Older releases:5
License:MIT
Last Updated:Jun 21, 2020
Links: GitHub  ·  Packagist
Maintainer: nasyrov

Laravel Imgix

Latest Version on Packagist Software License Build Status Coverage Status Quality Score Total Downloads

Laravel package for generating URLs with Imgix.

Requirements

Make sure all dependencies have been installed before moving on:

Install

First, pull the package via Composer:

$ composer require nasyrov/laravel-imgix

Next, register the service provider in config/app.php:

'providers' => [
    ...
    Nasyrov\Laravel\Imgix\ImgixServiceProvider::class,
    ...
]

Optionally register the facade in config/app.php:

'aliases' => [
    ...
    'Imgix' =>  Nasyrov\Laravel\Imgix\Facades\Imgix::class,
    ...
]

Finally, publish and update the config config/imgix.php:

php artisan vendor:publish --tag=imgix

Usage

Facade

Imgix::createUrl(string $path, array $params = []) : string

$path The path to the image

$params The image parameters

echo Imgix::createUrl('test.jpg', ['w' => 100, 'h' => 100]);

// Prints out:
// http://test.imgix.net/test.jpg?w=100&h=100

Helper

imgix(string $path, array $params = []) : string

$path The path to the image

$params The image parameters

echo imgix('test.jpg', ['w' => 100, 'h' => 100]);

// Prints out:
// http://test.imgix.net/test.jpg?w=100&h=100

Testing

$ composer lint
$ composer test

Security

If you discover any security related issues, please email inasyrov@ya.ru instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.

Related Packages

damianromanowski/simplecdn

Laravel 4 simple content delivery network URL rewriter

862 17
cdn
tappleby/laravel-asset-manifest

Laravel 4 package for re-mapping assets paths, useful for asset revving using to...

940 4
arubacao/asset-cdn

Serve Laravel Assets from a Content Delivery Network (CDN)

200,596 110
kodeops/prado

Wrapper for Prado CDN service

5,282 0
amrsoliman/assets-cdn

Easily load your assets from a CDN when on production.

1,122 3

Version History

Version Released PHP Laravel License
1.1.0 >=7.2 ^6.0 MIT
v1.0.0 >=5.6.4 ~5.4 MIT