wilburpowery/routes-cached

A Laravel Nova card.

0.2.1 2018-09-11 17:39 UTC

This package is not auto-updated.

Last update: 2024-04-11 17:26:58 UTC


README

44622904-7ad6a380-a87f-11e8-8c42-553818de74cb.png

44622903-7ad6a380-a87f-11e8-85ca-ba8220d57731.png

Installation

You can install this package with Composer to any application that uses Laravel Nova:

composer require wilburpowery/routes-cached

Next, you must register the card with Nova. This is typically done in the cards method of the NovaServiceProvider.

// in app/Providers/NovaServiceProvider.php

// ...
public function cards()
{
    return [
        // ...
        new \Wilburpowery\RoutesCached\RoutesCached,
    ];
}

TODO:

  • Show if the cached routes are outdated
  • Click a button to cache your routes