nassajis/image-fit
Composer 安装命令:
composer require nassajis/image-fit
包简介
This package is for fitting image
README 文档
README
Laravel image fit
Installation
The Image-Fit Service Provider can be installed via Composer by requiring the
nassajis/image-fit package and setting the minimum-stability to dev (required for Laravel 5) in your
project's composer.json.
{
"require": {
"laravel/framework": "5.*",
"nassajis/image-fit": "^1.2"
}
}
or
Require this package with composer:
composer require nassajis/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.+
'providers' => [ // ... Nassajis\ImageFit\ImageFitServiceProvider::class, ]
for Laravel 5.0
'providers' => [ // ... 'Nassajis\ImageFit\ImageFitServiceProvider', ]
Copy the package config to your local config with the publish command:
php artisan vendor:publish --provider="Nassajis\ImageFit\ImageFitServiceProvider"
Response Image width & height
width & height * 10
统计信息
- 总下载量: 75
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-02-13