remipou / nova-page-manager
Page manager for Laravel Nova
Installs: 83 164
Dependents: 0
Suggesters: 0
Security: 0
Stars: 34
Watchers: 4
Forks: 13
Open Issues: 4
Type:package
Requires
- php: >=7.1.0
- cviebrock/eloquent-sluggable: ^8.0|^9.0
- dev-master
- 1.0.17
- 1.0.16
- 1.0.15
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- dev-dependabot/npm_and_yarn/express-4.18.2
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/loader-utils-1.4.2
- dev-analysis-8nVYk1
- dev-analysis-XpKnwk
This package is auto-updated.
Last update: 2024-11-09 21:17:14 UTC
README
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.