digitalcloud/nova-page-tool

A Laravel Nova Page tool.

2.0.3 2018-12-13 13:36 UTC

This package is auto-updated.

Last update: 2024-11-18 21:41:16 UTC


README

This tool allows you to create and manage web pages.

Installation

You can install the package via composer:

composer require digitalcloud/nova-page-tool

Next you need to create the database table by running the migrations:

php artisan migrate

You can publish the required assets with:

php artisan vendor:publish --provider="DigitalCloud\PageBuilderField\FieldServiceProvider" --tag=public

Usage

You must register the tool with Nova. This is typically done in the tools method of the NovaServiceProvider, in app/Providers/NovaServiceProvider.php.

use DigitalCloud\PageTool\PageTool;
// ....

public function tools()
{
    return [
        // ...
        new PageTool(),
        // ...
    ];
}