PHP code example of remipou / nova-page-manager

1. Go to this page and download the library: Download remipou/nova-page-manager library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

remipou / nova-page-manager example snippets


use Remipou\NovaPageManager\PageResource;

protected function resources() {
    Nova::resourcesIn(app_path('Nova'));

    Nova::resources([
        PageResource::class,
    ]);
}

Route::get('{slug}/{param?}', '\Remipou\NovaPageManager\PageController@page')
	->where('slug', '^((?!' . trim(config('nova.path'), '/') . '|nova-).)*$')
	->name('page-manager');
bash
php artisan vendor:publish --provider="Remipou\NovaPageManager\NovaPageServiceProvider"
bash
php artisan migrate