PHP code example of furkangm / filament-page-manager

1. Go to this page and download the library: Download furkangm/filament-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/ */

    

furkangm / filament-page-manager example snippets


class ExampleTemplate extends \FurkanGM\FilamentPageManager\Templates\PageTemplate
{
    // ....
}

'templates' => [
    // ...
    CreatedPageTemplate::class
]

app(\FurkanGM\FilamentPageManager\FilamentPageManager::class)->setPageTemplates([
    // templates...
]);
bash
php artisan vendor:publish --tag="filament-page-manager-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="filament-page-manager-config"
shell
php artisan make:page-template {name?}