nasyrov/laravel-imgix
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 advisedNot 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 |
Laravel Imgix
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
Laravel 4 package for re-mapping assets paths, useful for asset revving using to...
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 1.1.0 | >=7.2 | ^6.0 | MIT | |
| v1.0.0 | >=5.6.4 | ~5.4 | MIT |