darvis/manta-news
最新稳定版本:v1.1.2
Composer 安装命令:
composer require darvis/manta-news
包简介
News module for Manta CMS
README 文档
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
/docsdirectory 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.
Credits
统计信息
- 总下载量: 17
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-08-04