PHPackages                             yarbala/nova-optimal-image-field - 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. yarbala/nova-optimal-image-field

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

yarbala/nova-optimal-image-field
================================

Nova Optimal Image field

1.0.0(6y ago)41.1k↓52.4%MITPHPPHP &gt;=7.1.0

Since Apr 20Pushed 6y ago1 watchersCompare

[ Source](https://github.com/yarbala/nova-optimal-image-field)[ Packagist](https://packagist.org/packages/yarbala/nova-optimal-image-field)[ Docs](https://github.com/spatie/image-optimizer)[ RSS](/packages/yarbala-nova-optimal-image-field/feed)WikiDiscussions master Synced 1mo ago

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

Nova Optimal Image field
========================

[](#nova-optimal-image-field)

This field differs from the standard Image field in that after the image is loaded using it, image optimization takes place. For image optimization the package [spatie/laravel-image-optimizer](https://github.com/spatie/laravel-image-optimizer)is used.

Installation
------------

[](#installation)

Install the package into a Laravel app that uses [Nova](https://nova.laravel.com) with Composer:

```
composer require yarbala/nova-optimal-image-field
```

Read the documentation [spatie/laravel-image-optimizer](https://github.com/spatie/laravel-image-optimizer) for optimizers setup information on the server side.

Usage
-----

[](#usage)

Add the field to your resource in the `fields` method:

```
use Yarbala\OptimalImage\OptimalImage;

OptimalImage::make('Image'),
```

Field uses local disk for converting images, to change this behavior change use localDisk method:

```
OptimalImage::make('Image')->localDisk('local'),
```

The field extends the `Laravel\Nova\Fields\Image` field, so all the usual methods are available.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

2213d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2683693?v=4)[yarbala](/maintainers/yarbala)[@yarbala](https://github.com/yarbala)

---

Top Contributors

[![yarbala](https://avatars.githubusercontent.com/u/2683693?v=4)](https://github.com/yarbala "yarbala (9 commits)")

---

Tags

laravelseonovaimage-optimization

### Embed Badge

![Health badge](/badges/yarbala-nova-optimal-image-field/health.svg)

```
[![Health](https://phpackages.com/badges/yarbala-nova-optimal-image-field/health.svg)](https://phpackages.com/packages/yarbala-nova-optimal-image-field)
```

###  Alternatives

[mostafaznv/nova-ckeditor

CkEditor for Laravel Nova

57327.2k1](/packages/mostafaznv-nova-ckeditor)[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)[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)[silvanite/nova-field-cloudinary

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

2972.0k3](/packages/silvanite-nova-field-cloudinary)[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)
