PHPackages                             novius/laravel-nova-publishable - 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. novius/laravel-nova-publishable

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

novius/laravel-nova-publishable
===============================

A Laravel Nova package for publishable fields

3.1.1(2mo ago)28.8k↓31.8%2AGPL-3.0-or-laterPHPPHP &gt;=8.2CI passing

Since Jun 23Pushed 2mo ago4 watchersCompare

[ Source](https://github.com/novius/laravel-nova-publishable)[ Packagist](https://packagist.org/packages/novius/laravel-nova-publishable)[ RSS](/packages/novius-laravel-nova-publishable/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (8)Dependencies (12)Versions (11)Used By (2)

Laravel Nova Publishable
========================

[](#laravel-nova-publishable)

[![Packagist Release](https://camo.githubusercontent.com/8b0ad7e93ece9d64d1960e3e1fbf8ad68776f593d25835aedf25110430da39a4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e6f766975732f6c61726176656c2d7075626c69736861626c652e7376673f6d61784167653d31383030267374796c653d666c61742d737175617265)](https://packagist.org/packages/novius/laravel-publishable)[![License: AGPL v3](https://camo.githubusercontent.com/c61341f63648cdd5aba4f7a073b513106a63778c27b15f96c56157642bc943b4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4147504c25323076332d626c75652e737667)](http://www.gnu.org/licenses/agpl-3.0)

Introduction
------------

[](#introduction)

This package allows you to manage Laravel Models which user [Laravel Publishable](https://github.com/novius/laravel-publishable) in [Laravel Nova](https://nova.laravel.com/).

Requirements
------------

[](#requirements)

- Laravel Nova &gt;= 4.0
- Laravel &gt;= 10.0
- PHP &gt;= 8.2

> **NOTE**: These instructions are for Laravel &gt;= 10.0 and PHP &gt;= 8.2 If you are using prior version, please see the [previous version's docs](https://github.com/novius/laravel-nova-publishable/tree/2.x).

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

[](#installation)

You can install the package via composer:

```
composer require novius/laravel-nova-publishable
```

Add `Publishable` trait on your Nova Resource:

```
use Laravel\Nova\Resource;
use Novius\LaravelNovaPublishable\Nova\Traits\Publishable;

class Post extends Resource
{
    use Publishable;
```

Then you can insert Publishable fields on your Nova Resource. You can also add the Publication Status Filter.

```
class Post extends Resource
{
    public function fields(NovaRequest $request): array
    {
        return [
            PublicationBadge::make(), // Only display on not forms
            PublicationStatusField::make()->onlyOnForms(),
            PublishedFirstAt::make()->hideFromIndex(),
            PublishedAt::make()->onlyOnForms(),
            ExpiredAt::make()->onlyOnForms(),
        ];
    }

    public function filters(NovaRequest $request): array
    {
        return [
            new PublicationStatus(),
        ];
    }
```

You can use the UpdatePlucationStatus action to mass update the publication status of your models.

```
    public function actions(Request $request): array
    {
        return [
            UpdatePublicationStatus::make(),
        ];
    }
```

Lang files
----------

[](#lang-files)

If you want to customize the lang files, you can publish them with:

```
php artisan vendor:publish --provider="Novius\LaravelNovaPublishable\LaravelNovaPublishableServiceProvider" --tag="lang"
```

Lint
----

[](#lint)

Lint your code with Laravel Pint using:

```
composer run-script lint
```

Licence
-------

[](#licence)

This package is under [GNU Affero General Public License v3](http://www.gnu.org/licenses/agpl-3.0.html) or (at your option) any later version.

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance86

Actively maintained with recent releases

Popularity27

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 88.2% 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 ~141 days

Recently: every ~220 days

Total

8

Last Release

66d ago

Major Versions

1.0.0 → 2.0.02023-07-17

2.0.2 → 3.0.02024-07-10

PHP version history (2 changes)1.0.0PHP ^8.1

3.0.0PHP &gt;=8.2

### Community

Maintainers

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

---

Top Contributors

[![felixgilles](https://avatars.githubusercontent.com/u/900854?v=4)](https://github.com/felixgilles "felixgilles (30 commits)")[![tony-novius](https://avatars.githubusercontent.com/u/243603340?v=4)](https://github.com/tony-novius "tony-novius (2 commits)")[![Findhel](https://avatars.githubusercontent.com/u/9133325?v=4)](https://github.com/Findhel "Findhel (1 commits)")[![tonyyb](https://avatars.githubusercontent.com/u/11064382?v=4)](https://github.com/tonyyb "tonyyb (1 commits)")

---

Tags

laravelnovapublishable

###  Code Quality

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/novius-laravel-nova-publishable/health.svg)

```
[![Health](https://phpackages.com/badges/novius-laravel-nova-publishable/health.svg)](https://phpackages.com/packages/novius-laravel-nova-publishable)
```

###  Alternatives

[dillingham/nova-attach-many

Attach Many Nova field

2712.0M2](/packages/dillingham-nova-attach-many)[sbine/route-viewer

A Laravel Nova tool to view your registered routes.

57215.9k](/packages/sbine-route-viewer)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

14720.0k](/packages/markwalet-nova-modal-response)[alexwenzel/nova-dependency-container

A Laravel Nova 4 form container for grouping fields that depend on other field values.

461.0M2](/packages/alexwenzel-nova-dependency-container)[stepanenko3/nova-cards

A Laravel Nova info cards.

33143.0k](/packages/stepanenko3-nova-cards)

PHPackages © 2026

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