amir2b/image-fit

This package is for fitting image
879 7
Install
composer require amir2b/image-fit
Latest Version:1.2.9
PHP:>=5.5
License:MIT
Last Updated:Dec 19, 2023
Links: GitHub  ·  Packagist
Maintainer: amir2b

image-fit for Laravel 5

Laravel image fit

Installation

The Image-Fit Service Provider can be installed via Composer by requiring the amir2b/image-fit package and setting the minimum-stability to dev (required for Laravel 5) in your project's composer.json.

{
    "require": {
        "laravel/framework": "5.0.*",
        "amir2b/image-fit": "^1.2"
    }
}

or

Require this package with composer:

composer require amir2b/image-fit

Update your packages with composer update or install with composer install.

Find the providers key in config/app.php and register the ImageFit Service Provider.

for Laravel 5.1+

    'providers' => [
        // ...
        Amir2b\ImageFit\ImageFitServiceProvider::class,
    ]

for Laravel 5.0

    'providers' => [
        // ...
        'Amir2b\ImageFit\ImageFitServiceProvider',
    ]

Copy the package config to your local config with the publish command:

php artisan vendor:publish --provider="Amir2b\ImageFit\ImageFitServiceProvider"

Related Packages

spatie/image

Manipulate images with an expressive API

71,251,433 1,366
laravel-at/laravel-image-sanitize

A small but handy package to prevent malicious code execution coming into your a...

87,681 345
jasis/image-resizer

Image resizer library for laravel

36 0
armezit/spatie-image

Manipulate images with an expressive API

5 0
approached/laravel-image-optimizer

Image optimizer for laravel

144,504 153

Version History

Version Released PHP License
1.2.9 >=5.5 MIT
1.2.8 >=5.5 MIT
1.2.7 >=5.5 MIT
1.2.6 >=5.5 MIT
1.2.5 >=5.5 MIT