nova-page-manager
nova-page-manager copied to clipboard
Page manager for Laravel Nova
A page manager for Nova
A simple page manager to use with Laravel and Nova.
Installation
Install with composer:
composer require remipou/nova-page-manager
Publish configuration, views and migrations:
php artisan vendor:publish --provider="Remipou\NovaPageManager\NovaPageServiceProvider"
Run the migrations
php artisan migrate
Register the resource in NovaServiceProvider:
use Remipou\NovaPageManager\PageResource;
protected function resources() {
Nova::resourcesIn(app_path('Nova'));
Nova::resources([
PageResource::class,
]);
}
Add this at the end of your routes/web.php
:
Route::get('{slug}/{param?}', '\Remipou\NovaPageManager\PageController@page')
->where('slug', '^((?!' . trim(config('nova.path'), '/') . '|nova-).)*$')
->name('page-manager');
Usage
Create templates in resources/views/templates
. Route and Controller are included but you need to style your templates.
Screenshots


Roadmap
- ~~add markup to content~~
- add hierarchy (parent/child pages)
- add a menu manager
- add a page builder
Changelog
- 1.0.2 added markup to content
- 1.0.1 first version
Credits
License
The MIT License (MIT). Please see License File for more information.