定制 remipou/nova-page-manager 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

remipou/nova-page-manager

最新稳定版本:1.0.17

Composer 安装命令:

composer require remipou/nova-page-manager

包简介

Page manager for Laravel Nova

README 文档

README

Latest Stable Version Total Downloads Latest Unstable Version License StyleCI

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

screenshot1

screenshot2

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.

统计信息

  • 总下载量: 83.59k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 34
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 34
  • Watchers: 3
  • Forks: 13
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-10-13