darvis/manta-news

News module for Manta CMS

0.1.0 2025-07-29 07:11 UTC

This package is auto-updated.

Last update: 2025-08-25 12:24:57 UTC


README

Latest Version on Packagist Software License

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:

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.

Credits