PHPackages                             weiwait/nova-images - 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. weiwait/nova-images

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

weiwait/nova-images
===================

A Laravel Nova field for multiple images by json. Laravel Nova 多图组件，目前仅支持json格式

1.0.1(5y ago)212MITVuePHP &gt;=7.4.0

Since Mar 11Pushed 5y ago2 watchersCompare

[ Source](https://github.com/weiwait/nova-images)[ Packagist](https://packagist.org/packages/weiwait/nova-images)[ RSS](/packages/weiwait-nova-images/feed)WikiDiscussions main Synced 6d ago

READMEChangelog (2)DependenciesVersions (3)Used By (0)

多图组件

Nova Images

![预览]()

### 使用 Usage

[](#使用-usage)

```
// In Model
public $cast = [
    'images' => 'array',
];

// In Migration
public function up()
{
    Schema::create('users', function (Blueprint $table) {
        $table->json('images')->nullable()->comment('多图');
    });
}

// In Nova resource
public function fields(Request $request)
{
    return [
        \Weiwait\NovaImages\Images::make('图片', 'images')
            ->cropper([
                'autoCrop' => true,
                'fixed' => true,
                'fixedNumber' => [16, 9],
                'enlarge' => 3,
            ]),
    ];
}
```

   名称 功能 默认值 可选值     img 裁剪图片的地址 空 url 地址 || base64 || blob   outputSize 裁剪生成图片的质量 1 0.1 - 1   outputType 裁剪生成图片的格式 jpg (jpg 需要传入jpeg) jpeg || png || webp   info 裁剪框的大小信息 true true || false   canScale 图片是否允许滚轮缩放 true true || false   autoCrop 是否默认生成截图框 false true || false   autoCropWidth 默认生成截图框宽度 容器的80% 0~max   autoCropHeight 默认生成截图框高度 容器的80% 0~max   fixed 是否开启截图框宽高固定比例 true true | false   fixedNumber 截图框的宽高比例 \[1, 1\] \[宽度, 高度\]   full 是否输出原图比例的截图 false true | false   fixedBox 固定截图框大小 不允许改变 false true | false   canMove 上传图片是否可以移动 true true | false   canMoveBox 截图框能否拖动 true true | false   original 上传图片按照原始比例渲染 false true | false   centerBox 截图框是否被限制在图片里面 false true | false   high 是否按照设备的dpr 输出等比例图片 true true | false   infoTrue true 为展示真实输出图片宽高 false 展示看到的截图框宽高 false true | false   maxImgSize 限制图片最大宽度和高度 2000 0-max   enlarge 图片根据截图框输出比例倍数 1 0-max(建议不要太大不然会卡死的呢)   mode 图片默认渲染方式 contain contain , cover, 100px, 100% auto  power by vue-cropper

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity54

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

Every ~0 days

Total

2

Last Release

1892d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/74e0a539fde4f31941cf773ea8504fa105f6c48dd8d3665c3f5ea13304c82292?d=identicon)[weiwait](/maintainers/weiwait)

---

Tags

laravelimagesnovadrop

### Embed Badge

![Health badge](/badges/weiwait-nova-images/health.svg)

```
[![Health](https://phpackages.com/badges/weiwait-nova-images/health.svg)](https://phpackages.com/packages/weiwait-nova-images)
```

###  Alternatives

[classic-o/nova-media-library

Tool and field that will let you managing files and add them to the posts

154172.0k](/packages/classic-o-nova-media-library)[silvanite/nova-field-cloudinary

A Laravel Nova Image Field with Flysystem Adapter for storing and retrieving media from Cloudinary

2772.0k3](/packages/silvanite-nova-field-cloudinary)[r64/nova-image-cropper

A Laravel Nova field.

56293.4k](/packages/r64-nova-image-cropper)[mostafaznv/nova-video

Video Field for Laravel Nova

22398.0k1](/packages/mostafaznv-nova-video)[ayvazyan10/nova-imagic

Imagic is a Laravel Nova field package that allows for image manipulation capabilities, such as cropping, resizing, quality adjustment, and WebP conversion. It utilizes the powerful Intervention Image class for image manipulation.

144.3k1](/packages/ayvazyan10-nova-imagic)[stepanenko3/nova-media-field

A Laravel Nova field for laravel-medilibrary.

1717.5k](/packages/stepanenko3-nova-media-field)

PHPackages © 2026

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