PHPackages                             vysotsky-productions/nova-photo-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. vysotsky-productions/nova-photo-field

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

vysotsky-productions/nova-photo-field
=====================================

A Laravel Nova field.

3121Vue

Since Oct 20Pushed 4y ago2 watchersCompare

[ Source](https://github.com/vysotsky-productions/nova-photo-field)[ Packagist](https://packagist.org/packages/vysotsky-productions/nova-photo-field)[ RSS](/packages/vysotsky-productions-nova-photo-field/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (3)Used By (0)

nova-photo-field
================

[](#nova-photo-field)

\##installation

composer require vysotsky-productions/nova-photo-field php artisan vendor:publish --tag=nova-photo-field

```
            NovaPhotoField::make('Превью', 'preview')
                ->aspectRatio(3/4)
                ->getPhoto('original_url')
                ->getPhotoForm('preview_url')
                ->getPhotoDetail('preview_url')
                ->getPhotoIndex('preview_url')
                ->getCropBoxData('crop_data')
                ->setDeletable(false)
                ->setHandler(
                    new SavePhoto('persons/avatar', config('thumbs.user.persons/avatar'))
                ),

```

\####getPhoto(string $original\_url) $original\_attribute - attribute name for original url of Media instance ####getPhotoForm(string $preview\_url) $original\_attribute - attribute name for cropped url of Media instance ####getPhotoDetail(string $preview\_url) $original\_attribute - attribute name for preview url of Media instance ####getPhotoIndex(string $preview\_url) $original\_attribute - attribute name for preview url of Media instance ####getCropBoxData(string $crop\_data) $original\_attribute - attribute name for crop\_data of Media instance ####setHandler($handlerClass) $handlerClass should implement 3 methods: save :: $file, $cropData -&gt; new Media
update :: $mediaId, $cropData -&gt; void
delete :: $mediaId -&gt; void ####setDeletable(bool $deletable) by default - true (it means that file will be deleted with $handlerClass delete method)

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 Bus Factor1

Top contributor holds 71.4% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/a4040278de79f983b408c93dcbcae3938f613717ed36bd3a3ebe4a02398cb4b2?d=identicon)[oleh.vysotskyi](/maintainers/oleh.vysotskyi)

---

Top Contributors

[![rulyaryu](https://avatars.githubusercontent.com/u/28955313?v=4)](https://github.com/rulyaryu "rulyaryu (5 commits)")[![oleg-vysotsky](https://avatars.githubusercontent.com/u/6359131?v=4)](https://github.com/oleg-vysotsky "oleg-vysotsky (2 commits)")

### Embed Badge

![Health badge](/badges/vysotsky-productions-nova-photo-field/health.svg)

```
[![Health](https://phpackages.com/badges/vysotsky-productions-nova-photo-field/health.svg)](https://phpackages.com/packages/vysotsky-productions-nova-photo-field)
```

###  Alternatives

[rainlab/builder-plugin

Builder plugin for October CMS

17147.2k1](/packages/rainlab-builder-plugin)

PHPackages © 2026

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