misaf/vendra-custom-page

Dynamic page management system with CMS capabilities

Installs: 0

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 0

Open Issues: 0

Type:vendra-module

pkg:composer/misaf/vendra-custom-page

dev-master 2026-02-26 05:25 UTC

This package is auto-updated.

Last update: 2026-02-26 05:25:12 UTC


README

Tenant-aware custom page management for Laravel + Filament.

Features

  • Custom page categories
  • Custom pages with translatable content
  • Filament resources on the admin panel

Requirements

  • PHP 8.2+
  • Laravel 11 or 12
  • Filament 4
  • misaf/vendra-tenant
  • misaf/vendra-activity-log

Installation

composer require misaf/vendra-custom-page
php artisan vendor:publish --tag=vendra-custom-page-migrations
php artisan migrate

Optional translations publish:

php artisan vendor:publish --tag=vendra-custom-page-translations

The service provider and Filament plugin are auto-registered.

Usage

Create a page category:

use Misaf\VendraCustomPage\Models\CustomPageCategory;

$category = CustomPageCategory::query()->create([
    'name' => ['en' => 'Company'],
    'description' => ['en' => 'Company pages'],
    'slug' => ['en' => 'company'],
    'position' => 1,
    'status' => true,
]);

Create a custom page:

use Misaf\VendraCustomPage\Models\CustomPage;

CustomPage::query()->create([
    'custom_page_category_id' => $category->id,
    'name' => ['en' => 'About Us'],
    'description' => ['en' => 'About our company'],
    'slug' => ['en' => 'about-us'],
    'position' => 1,
    'status' => true,
]);

Load pages with their category:

$pages = CustomPage::query()
    ->with('customPageCategory')
    ->where('status', true)
    ->get();

Filament

Resources are available in the Custom Pages cluster on the admin panel:

  • Custom Page Categories
  • Custom Pages

Testing

composer test

License

MIT. See LICENSE.