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

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

creode/nova-publishable
=======================

Utilises the Publishable Package, to create a new published field for the module.

1.2.0(1y ago)040716MITPHPPHP ^7.3|^8.0

Since Jan 29Pushed 1y ago1 watchersCompare

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

READMEChangelog (3)Dependencies (3)Versions (4)Used By (6)

Nova Publishable
================

[](#nova-publishable)

[![Latest Version on Packagist](https://camo.githubusercontent.com/614074ecd6f256045e258761f2485828d401eedf36fb0036ef6f3e9deb2f5e31/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6372656f64652f6e6f76612d7075626c69736861626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/creode/nova-publishable)[![Total Downloads](https://camo.githubusercontent.com/cc8d62160f73d3242d41dc43aa8b1c7dbc8f59b36664aad59addb3f892addce9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6372656f64652f6e6f76612d7075626c69736861626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/creode/nova-publishable)

This package provides an integration between the [Laravel Publishable](https://github.com/jaymeh/laravel-publishable) package and Nova.

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

[](#installation)

```
composer require creode/nova-publishable
```

Usage
-----

[](#usage)

To use the field, you must first add the `Publishable` trait to your model.

```
use PawelMysior\Publishable\Publishable;

class Post extends Model
{
    use Publishable;
}
```

Then, you can add the field to your Nova resource.

```
use Creode\LaravelPublishable\Published;

class Post extends Resource
{
    // ...

    public function fields(Request $request)
    {
        return [
            // ...

            Published::make('Published', 'published_at'),
        ];
    }
}
```

### Publish/Unpublish Actions

[](#publishunpublish-actions)

This package also provides actions to publish and unpublish resources. To use these, you must add the `Publishable` trait to your model as above.

Then you can add the following actions to your Nova resource.

```
use Creode\NovaPublishable\Actions\PublishAction;
use Creode\NovaPublishable\Actions\UnpublishAction;

class Post extends Resource
{
    // ...

    public function actions(Request $request)
    {
        return [
            // ...

            new PublishAction,
            new UnpublishAction,
        ];
    }
}
```

Roadmap
-------

[](#roadmap)

- Add tests with Dusk
- Improve the field by allowing the user to schedule resources by specify a publishable date via a secondary field

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

[](#contributing)

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

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Creode](https://github.com/creode)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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 ~133 days

Total

3

Last Release

574d ago

### Community

Maintainers

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

---

Top Contributors

[![jaymeh](https://avatars.githubusercontent.com/u/18261676?v=4)](https://github.com/jaymeh "jaymeh (9 commits)")[![makowskid](https://avatars.githubusercontent.com/u/6271194?v=4)](https://github.com/makowskid "makowskid (1 commits)")

---

Tags

laravelnova

### Embed Badge

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

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

###  Alternatives

[optimistdigital/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2872.1M6](/packages/optimistdigital-nova-sortable)[outl1ne/nova-sortable

This Laravel Nova package allows you to reorder models in a Nova resource's index view using drag &amp; drop.

2861.8M9](/packages/outl1ne-nova-sortable)[optimistdigital/nova-multiselect-field

A multiple select field for Laravel Nova.

3403.5M7](/packages/optimistdigital-nova-multiselect-field)[digital-creative/conditional-container

Provides an easy way to conditionally show and hide fields in your Nova resources.

116593.8k4](/packages/digital-creative-conditional-container)[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)

PHPackages © 2026

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