PHPackages                             workup/nova-back-button - 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. workup/nova-back-button

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

workup/nova-back-button
=======================

A Laravel Nova card to display a back button.

v2.0.2.002(2y ago)015MITPHPPHP &gt;=8.0

Since May 31Pushed 2y agoCompare

[ Source](https://github.com/workupsrl/nova-back-button)[ Packagist](https://packagist.org/packages/workup/nova-back-button)[ RSS](/packages/workup-nova-back-button/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (5)Dependencies (1)Versions (12)Used By (0)

Nova Back Button
================

[](#nova-back-button)

[![Latest Stable Version](https://camo.githubusercontent.com/e859d8fb66cb4dda8b8794def35ae5f6ee55d4e2f238acf1ebacb6494f24946f/68747470733a2f2f706f7365722e707567782e6f72672f576f726b75702f6e6f76612d6261636b2d627574746f6e2f762f737461626c65)](https://packagist.org/packages/Workup/nova-back-button)[![Total Downloads](https://camo.githubusercontent.com/23434c56e535de0957d134399e80d6b6710c27605a761b618bfd8e91ffd5d6d7/68747470733a2f2f706f7365722e707567782e6f72672f576f726b75702f6e6f76612d6261636b2d627574746f6e2f646f776e6c6f616473)](https://packagist.org/packages/Workup/nova-back-button)

Adds a card that implements a back button to Nova, the content can be fully customized. The url is called through the router and without a url set a history.go(-1) is called.

[![image](https://github.com/Workup/nova-back-button/raw/master/.github/example-a.png)](https://github.com/Workup/nova-back-button/blob/master/.github/example-a.png)[![image](https://github.com/Workup/nova-back-button/raw/master/.github/example-b.png)](https://github.com/Workup/nova-back-button/blob/master/.github/example-b.png)

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

[](#installation)

You can install the package in to a Laravel app that uses [Nova](https://nova.laravel.com) via composer:

- Install version ^1.0 for Laravel Nova ^1.0|^2.0|^3.0
- Install version ^2.0 for Laravel Nova ^4.0

```
composer require Workup/nova-back-button
```

Usage
-----

[](#usage)

[Register your new card](https://nova.laravel.com/docs/4.0/customization/cards.html#registering-cards).

```
use Workup\NovaBackButton\NovaBackButton;

public function cards()
{
    return [
        (new NovaBackButton())
            ->onlyOnDetail(),

        (new NovaBackButton())
            ->onlyOnDetail()
            ->width('1/3')
            ->markdown('# Hello World!'),

        (new NovaBackButton())
            ->onlyOnDetail()
            ->width('1/3')
            ->view('partials.back-button')
            ->url(sprintf('%s/resources/%s/%d', config('nova.path'), User::uriKey(), \App\Models\User::first()->id)),
     ];
}
```

### Options

[](#options)

- Set content, by default a back svg is used.
    - `->html('Hello!')`: Set HTML or plain content.
    - `->markdown('# Hello!')`: Set Markdown content that will be converted into HTML.
    - `->view('path.to.view', [])`: Specify blade view file and optionally pass an array of data to view.
- Styling
    - `->center(false)`: Center card's content. `false` by default.
    - `->withoutCardStyles(true)`: Whether to use standard Nova Card styles for a card (background, padding, etc). `false` by default.
    - `->forceFullWidth(true)`: Force the card to be full width. A fix for [nova cards order](https://github.com/laravel/nova-issues/issues/1895).

Source
------

[](#source)

This package was created with the help of:

License
-------

[](#license)

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

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 91.7% 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 ~82 days

Recently: every ~120 days

Total

11

Last Release

1033d ago

Major Versions

v1.0.2 → v2.0.02022-04-11

v1.0.2.001 → v2.0.2.0012022-05-13

v1.0.2.002 → v2.0.2.0022023-09-05

PHP version history (3 changes)v1.0.0PHP &gt;=7.1.0

v2.0.0PHP ^7.3|^8.0

v2.0.2.002PHP &gt;=8.0

### Community

Maintainers

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

---

Top Contributors

[![jeffreyzant](https://avatars.githubusercontent.com/u/913317?v=4)](https://github.com/jeffreyzant "jeffreyzant (11 commits)")[![rslanzi](https://avatars.githubusercontent.com/u/7341598?v=4)](https://github.com/rslanzi "rslanzi (1 commits)")

---

Tags

laravelbuttonnovaBack

### Embed Badge

![Health badge](/badges/workup-nova-back-button/health.svg)

```
[![Health](https://phpackages.com/badges/workup-nova-back-button/health.svg)](https://phpackages.com/packages/workup-nova-back-button)
```

###  Alternatives

[optimistdigital/nova-sortable

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

2852.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.

2862.1M9](/packages/outl1ne-nova-sortable)[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17878.9k](/packages/markwalet-nova-modal-response)[slash2nl/nova-back-button

A Laravel Nova card to display a back button.

18237.6k](/packages/slash2nl-nova-back-button)[sietse85/nova-button

(Nova 4+) A Laravel Nova package for adding buttons to your resources.

37371.5k](/packages/sietse85-nova-button)[advoor/nova-editor-js

A Laravel Nova field bringing EditorJs magic to Nova.

92219.3k3](/packages/advoor-nova-editor-js)

PHPackages © 2026

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