PHPackages                             jncinet/laravel-image-process - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. jncinet/laravel-image-process

ActiveLibrary[Image &amp; Media](/categories/media)

jncinet/laravel-image-process
=============================

laravel image process.

1.0.8(5y ago)015MITPHP

Since Apr 19Pushed 5y ago1 watchersCompare

[ Source](https://github.com/jncinet/laravel-image-process)[ Packagist](https://packagist.org/packages/jncinet/laravel-image-process)[ Docs](https://www.qihucms.com)[ RSS](/packages/jncinet-laravel-image-process/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (1)Versions (2)Used By (0)

Laravel ImageProcess
--------------------

[](#laravel-imageprocess)

安装
--

[](#安装)

```
$ composer require jncinet/laravel-image-process
```

方法
--

[](#方法)

- @method path(string $path) 输入图片地址
- @method string url() 返回图片地址
- @method round(array | int $radius) 圆角
- @method resize($mode = 0, array $params = \[\]) 设置置尺寸
- @method watermark($type = 'image', $params = \[\]) 水印
- @method array info() 获取图片信息

示例
--

[](#示例)

参数以七牛配置以基础自适应为本地、阿里云
[七牛图片缩放说明文档](https://developer.qiniu.com/dora/api/1279/basic-processing-images-imageview2)
[七牛图片水印说明文档](https://developer.qiniu.com/dora/api/1316/image-watermarking-processing-watermark)

```
// 获取图片信息
app('image-process')->path('源图地址')->info();

/* 修改图片大小、添加圆角、水印 */
// 圆角参数：
$round_params = ['radiusx' => 100, 'radiusy' => 100]
// 或
$round_params = 100;

// 重置大小，参考上面的 [七牛图片缩放说明文档] 配置
$aliyun_mode = [0=>'lfit', 1=>'mfit', 2=>'pad', 3=>'fixed', 4=>'fill', 5=>'undefined'];
$mode = '对应七牛缩放规则的值,使用阿里云时根据上方数组索引，本地处理会忽略，';
$resize_params = ['w' => 100, 'h' => 200, 'l' => '最长', 's' => '最短', 'limit'=>'阿里专用', 'color'=>'阿里专用'];

// 水印
$type = 'text=文字水印 | image=图片水印 | text_image=混合水印 | text_tile=文字平铺水印，本地驱动时此值无效可使用混合水印处理';
$watermark_params = [
   'image' => '图片地址','dissolve'=>'透明度',
   // 或混合水印
   ['image' => '图片地址','dissolve'=>'透明度',]
   ['text' => '文字','dissolve'=>'透明度',]
   ['text' => '文字','dissolve'=>'透明度',]
];

app('image-process')->path('源图地址')
    ->round($round_params)
    ->resize($mode, $resize_params)
    ->watermark($type, $watermark_params)
    ->url();
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1846d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/63541651e21494722aa0d364dca6dbaa132d0ee4e9f85a741b5eff8c587f57ba?d=identicon)[jncinet](/maintainers/jncinet)

---

Tags

laravelimageprocess

### Embed Badge

![Health badge](/badges/jncinet-laravel-image-process/health.svg)

```
[![Health](https://phpackages.com/badges/jncinet-laravel-image-process/health.svg)](https://phpackages.com/packages/jncinet-laravel-image-process)
```

###  Alternatives

[intervention/image-laravel

Laravel Integration of Intervention Image

1496.5M100](/packages/intervention-image-laravel)[bkwld/croppa

Image thumbnail creation through specially formatted URLs for Laravel

510496.0k22](/packages/bkwld-croppa)[joshembling/image-optimizer

Optimize your Filament images before they reach your database.

111145.4k12](/packages/joshembling-image-optimizer)[rolandstarke/laravel-thumbnail

Laravel Thumbnail generator

52140.6k](/packages/rolandstarke-laravel-thumbnail)[danihidayatx/image-optimizer

Optimize your Filament images before they reach your database. Forked from joshembling/image-optimizer for Filament v4 &amp; v5 support.

254.4k](/packages/danihidayatx-image-optimizer)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
