| Package Data | |
|---|---|
| Maintainer Username: | amir2b |
| Maintainer Contact: | bashiri.net@gmail.com (Amir Bashiri) |
| Package Create Date: | 2016-12-29 |
| Package Last Update: | 2023-12-19 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-28 03:03:19 |
| Package Statistics | |
|---|---|
| Total Downloads: | 876 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 7 |
| Total Watchers: | 2 |
| Total Forks: | 2 |
| Total Open Issues: | 1 |
Laravel image fit
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"