pvtl/voyager-pages

This package is abandoned and no longer maintained. No replacement package was suggested.

Ahoy! - A package to implement pages into Voyager

0.2.13 2020-03-27 03:22 UTC

This package is auto-updated.

Last update: 2021-07-27 06:09:55 UTC


README

This Laravel/Voyager module adds Pages to Voyager.

Built by Pivotal Agency.

Prerequisites

Installation

# 1. Require this Package in your fresh Laravel/Voyager project
composer require pvtl/voyager-pages

# 2. Run the Installer
php artisan voyager-pages:install

Usage

Installation generates a new database and BREAD table "pages", which is also available as menu item in Voyager. Voyager Pages implicitly adds web routes to your Laravel installation according to defined slugs in pages entries. Additionally, web route / is overridden to display home page.

Views Customization

In order to override views delivered by Voyager Pages, copy contents from vendor/pvtl/voyager-pages/resources/views to the views/vendor/voyager-pages directory of your Laravel installation.