misaf/vendra-custom-page

Dynamic page management system with CMS capabilities

Maintainers

👁 misaf

Package info

github.com/misaf/vendra-custom-page

Type:vendra-module

pkg:composer/misaf/vendra-custom-page

Statistics

Installs: 41

Dependents: 1

Suggesters: 0

Stars: 1

Open Issues: 1

dev-master 2026-06-25 07:59 UTC

Suggests

None

Provides

None

Conflicts

None

Replaces

None

MIT 319df098337ab5ceb6b14a04ccbd6c9769beda30

  • Ehsan Mahmoodi <misaf.1990.woop@gmail.com>

pagelaravelcustomcustom-pagefilamentphpvendramisaf

This package is auto-updated.

Last update: 2026-06-25 07:59:53 UTC


README

Tenant-aware custom page management for Vendra applications.

Features

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

Requirements

  • PHP 8.2+
  • Laravel 12
  • Filament 5
  • Livewire 4
  • Pest 4
  • Tailwind CSS 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.