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
Requires
- php: ^8.2
- awcodes/filament-badgeable-column: ^3.0
- filament/filament: ^4.7.0
- filament/spatie-laravel-media-library-plugin: ^4.7.0
- illuminate/support: ^11.0|^12.0
- lara-zeus/spatie-translatable: ^1.0
- misaf/vendra-activity-log: dev-master
- misaf/vendra-tenant: ^12.0
- mokhosh/filament-jalali: ^5.1
- spatie/eloquent-sortable: ^4.5.0
- spatie/laravel-package-tools: ^1.92
- spatie/laravel-sluggable: ^3.7.5
Requires (Dev)
- fakerphp/faker: ^1.24.1
- larastan/larastan: ^3.9.2
- laravel/boost: ^2.0.6
- laravel/pint: ^1.27
- misaf/vendra-testing: dev-master
- mockery/mockery: ^1.6.12
- nunomaduro/collision: ^8.8.3
- orchestra/testbench: ^10.9
- pestphp/pest: ^4.3.2
- pestphp/pest-plugin-arch: ^4.0
- pestphp/pest-plugin-laravel: ^4.0
- pestphp/pest-plugin-profanity: ^4.2.1
- pestphp/pest-plugin-type-coverage: ^4.0.3
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
adminpanel
Requirements
- PHP 8.2+
- Laravel 11 or 12
- Filament 4
misaf/vendra-tenantmisaf/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.