PHPackages                             vitorhugodotpt/nova-view-middleware - 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. vitorhugodotpt/nova-view-middleware

ActiveLibrary

vitorhugodotpt/nova-view-middleware
===================================

Middleware to control visibility of index of one Resource in Laravel Nova

1.0.5(5y ago)01.7kMITPHPPHP ^7.3

Since Oct 18Pushed 5y ago1 watchersCompare

[ Source](https://github.com/vitorhugodotpt/nova-view-middleware)[ Packagist](https://packagist.org/packages/vitorhugodotpt/nova-view-middleware)[ Docs](https://github.com/vitorhugodotpt/nova-view-middleware)[ RSS](/packages/vitorhugodotpt-nova-view-middleware/feed)WikiDiscussions main Synced 1mo ago

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

Laravel Nova View Middleware
============================

[](#laravel-nova-view-middleware)

[![Latest Version on Packagist](https://camo.githubusercontent.com/72e044bd963f60b0c120d6e7d13f680775a4e42e0c6c26ea1b0206f8f01ded03/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7669746f726875676f646f7470742f6e6f76612d766965772d6d6964646c65776172652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vitorhugodotpt/nova-view-middleware)[![Total Downloads](https://camo.githubusercontent.com/69d3e87410844944961302067f0c6727693659dc8de0f9102f6c4de6f412094b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7669746f726875676f646f7470742f6e6f76612d766965772d6d6964646c65776172652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/vitorhugodotpt/nova-view-middleware)

Middleware to control visibility of index of one Resource in Laravel Nova

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

[](#installation)

You can install the package via composer:

```
composer require vitorhugodotpt/nova-view-middleware
```

Usage
-----

[](#usage)

Add class to config &gt; nova.php

```
'middleware' => [
    ...
    \Vitorhugodotpt\NovaViewMiddleware\NovaViewMiddleware::class,
    ...
],
```

if you want to have the index resource available, even if the policy view is false.

```
public static $viewMiddleware = true;
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Vitor Hugo](https://github.com/vitorhugodotpt)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

Laravel Package Boilerplate
---------------------------

[](#laravel-package-boilerplate)

This package was generated using the [Laravel Package Boilerplate](https://laravelpackageboilerplate.com).

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Every ~7 days

Total

6

Last Release

1995d ago

PHP version history (2 changes)1.0.0PHP ^7.1

1.0.5PHP ^7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/41ca0e871ce36f02751433828f466f74b3edc6708641718e7f1a84250ae14389?d=identicon)[vitorhugodotpt](/maintainers/vitorhugodotpt)

---

Top Contributors

[![vitorhugodotpt](https://avatars.githubusercontent.com/u/3043884?v=4)](https://github.com/vitorhugodotpt "vitorhugodotpt (8 commits)")

---

Tags

laravelnovavitorhugodotptnova-view-middleware

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vitorhugodotpt-nova-view-middleware/health.svg)

```
[![Health](https://phpackages.com/badges/vitorhugodotpt-nova-view-middleware/health.svg)](https://phpackages.com/packages/vitorhugodotpt-nova-view-middleware)
```

###  Alternatives

[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3403.5M7](/packages/optimistdigital-nova-multiselect-field)[coreproc/nova-notification-feed

A Laravel Nova package that adds a notification feed in your Nova app.

10149.1k](/packages/coreproc-nova-notification-feed)[inspheric/nova-defaultable

Default values for Nova fields when creating resources and running resource actions.

51174.8k1](/packages/inspheric-nova-defaultable)[cybercog/laravel-nova-ban

A Laravel Nova banning functionality for your application.

40199.8k](/packages/cybercog-laravel-nova-ban)[insenseanalytics/nova-server-monitor

A Laravel Nova tool for Spatie's Server Monitor library.

6546.9k](/packages/insenseanalytics-nova-server-monitor)[datomatic/nova-detached-actions

A Laravel Nova tool to allow for placing actions in the Nova toolbar detached from the checkbox selection mechanism.

11229.2k](/packages/datomatic-nova-detached-actions)

PHPackages © 2026

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