← Back to Plugins
  • Page Manager

Page Manager

Plugin information

by Furkan Gezek • 5 stars

Developer tool Layout

Support

#page-manager on Discord

Views

1489

License

MIT

Documentation

Filament page manager

Installation

You can install the package via composer:

composer require furkangm/filament-page-manager

You can publish and run the migrations with:

php artisan vendor:publish --tag="filament-page-manager-migrations"
php artisan migrate

You can publish the config file with:

php artisan vendor:publish --tag="filament-page-manager-config"

Usage

First create page template with make command

php artisan make:page-template {name?}

Also you can create manually page template with extend \FurkanGM\FilamentPageManager\Templates\PageTemplate class

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

After creating page, you should register page template in config file.

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

If you want register templates without config file, you can use FilamentPageManager facade.

app(\FurkanGM\FilamentPageManager\FilamentPageManager::class)->setPageTemplates([
// templates...
]);

Customization

You can extend Page model and PageResource resource.