darvis / manta-page
Page module for Manta CMS
dev-main
2025-08-04 06:29 UTC
Requires
- php: ^8.2
- illuminate/support: ^12.0
Requires (Dev)
- orchestra/testbench: ^9.0
- phpunit/phpunit: ^10.0
This package is auto-updated.
Last update: 2025-08-04 06:31:03 UTC
README
Een Laravel package voor het beheren van pagina's en content. Deze module integreert naadloos met het darvis/manta-laravel-flux-cms systeem en biedt een complete oplossing voor pagina beheer.
Features
- π Pagina Beheer: Volledige CRUD functionaliteit voor pagina's
- π Content Management: Uitgebreid systeem voor het beheren van content
- π Meertalig: Ondersteuning voor meerdere talen via Manta CMS
- π Bestandsbeheer: GeΓ―ntegreerde upload functionaliteit voor afbeeldingen en documenten
- π Zoek & Filter: Geavanceerde zoek- en filtermogelijkheden
- π¨ Template Systeem: Flexibele template ondersteuning
- π SEO Optimalisatie: Uitgebreide SEO velden en slug beheer
- π Homepage Beheer: Speciale homepage functionaliteit
Installatie
Stap 1: Package installeren
composer require darvis/manta-page:@dev
Stap 2: Package configureren
php artisan manta-page:install
Stap 3: Module settings importeren
# Page module importeren
php artisan manta:import-module-settings darvis/manta-page --settings-file=export/settings-page.php
Stap 4: Database migraties uitvoeren
php artisan migrate
Beschikbare Routes
Na installatie zijn de volgende routes beschikbaar:
Pagina Beheer
GET /cms/page
- Overzicht van pagina'sGET /cms/page/toevoegen
- Nieuwe pagina aanmakenGET /cms/page/aanpassen/{id}
- Pagina bewerkenGET /cms/page/lezen/{id}
- Pagina bekijkenGET /cms/page/bestanden/{id}
- Bestanden beheer
Basis Gebruik
use Darvis\MantaPage\Models\Page; // Nieuwe pagina aanmaken $page = Page::create([ 'title' => 'Over Ons', 'description' => 'Informatie over ons bedrijf', 'content' => 'Welkom bij ons bedrijf. Wij zijn...', 'slug' => 'over-ons', 'seo_title' => 'Over Ons - Bedrijfsnaam', 'seo_description' => 'Leer meer over ons bedrijf en onze missie', 'active' => true, 'template' => 'default' ]); // Homepage instellen $homepage = Page::create([ 'title' => 'Welkom', 'content' => 'Welkom op onze website!', 'homepage' => true, 'homepageSort' => 1, 'active' => true ]);
Documentation
For detailed documentation, please see the /docs
directory:
- π Installation Guide - Complete installation instructions
- βοΈ Configuration - Configuration options and settings
- π Usage Guide - How to use the package
- ποΈ Database Schema - Complete database documentation
- π§ Troubleshooting - Common issues and solutions
- π API Documentation - Programmatic usage and API endpoints
Requirements
- PHP ^8.2
- Laravel ^12.0
- darvis/manta-laravel-flux-cms
Integration with Manta CMS
This module is specifically designed for integration with the Manta Laravel Flux CMS:
- Livewire v3: All UI components are Livewire components
- FluxUI: Consistent design with the CMS
- Manta Traits: Reuse of CMS functionality
- Multi-tenancy: Support for multiple companies
- Audit Trail: Complete logging of changes
- Soft Deletes: Safe data deletion
Support
For support and questions:
- π§ Email: info@arvid.nl
- π Website: arvid.nl
- π Documentation: See the
/docs
directory for comprehensive guides - π Issues: Create an issue in the repository
Contributing
Contributions are welcome! See CONTRIBUTING.md for guidelines.
Security
If you discover a security issue, please send an email to info@arvid.nl.
License
The MIT License (MIT). See License File for more information.