darvis / manta-news
News module for Manta CMS
Requires
- php: ^8.2
- illuminate/support: ^12.0
Requires (Dev)
- orchestra/testbench: ^9.0
- phpunit/phpunit: ^10.0
README
A Laravel package for managing news forms and submissions. This module integrates seamlessly with the darvis/manta-laravel-flux-cms system and provides a complete solution for news form management.
Features
- ๐ News Form Management: Full CRUD functionality for news forms
- ๐จ Submissions: Comprehensive system for managing news form submissions
- ๐ Multilingual: Support for multiple languages via Manta CMS
- ๐ File Management: Integrated upload functionality for attachments
composer require darvis/manta-news php artisan manta-news:install
Seeding
Na installatie kun je voorbeelddata toevoegen:
# Basis seeding - voegt alleen nieuwsartikelen toe php artisan manta-news:seed # Seeding met navigatie - voegt nieuwsartikelen EN navigatie-items toe php artisan manta-news:seed --with-navigation # Ververs alle data (verwijdert bestaande items eerst) php artisan manta-news:seed --fresh --with-navigation
Navigatie integratie:
De --with-navigation
optie voegt automatisch de volgende navigatie-items toe aan je CMS:
- ๐ฐ Nieuws - Beheer nieuwsartikelen (
news.list
) - ๐ท๏ธ Nieuws Categorieรซn - Beheer nieuwscategorieรซn (
news.news.cat.list
)
Deze items verschijnen automatisch in je CMS navigatie na het seeden.
Basic Usage
use Darvis\Mantanews\Models\news; // Create a news submission $news = news::create([ 'firstname' => 'John', 'lastname' => 'Doe', 'email' => 'john@example.com', 'subject' => 'General Inquiry', 'comment' => 'I would like more information...' ]);
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
- ๐ ๏ธ Artisan Commands - Available console commands and usage
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.