Skip to content
This repository has been archived by the owner on Jul 8, 2021. It is now read-only.
/ voyager-pages Public archive

A module to provide pages for Voyager ๐Ÿ“ƒ

Notifications You must be signed in to change notification settings

pvtl/voyager-pages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

45 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Voyager Pages

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.