laraxot/module_xot_fila3

xot module, heart of the laraxot repository


README

Latest Release Build Status Code Coverage License

Power your Laravel application with Module Xot Fila3, a comprehensive multi-module management system designed to integrate seamlessly into your existing architecture. Build faster, smarter, and with better modular control. 🔥

Key Features 🌟

  • Multi-module Support: Easily manage multiple modules in one application.
  • Integrated Permissions: Fine-grained control over user access to specific modules.
  • Automatic Module Discovery: Add new modules without touching any config files.
  • Dynamic Routing: Seamlessly manage routing for different modules with ease.
  • Filament 3 Compatible: Fully compatible with Filament 3 admin panel interface.

Installation Guide 💻

  1. Install via Composer:

    composer require laraxot/module_xot_fila3
  2. Run Migrations:

    php artisan module:migrate Xot
  3. Publish Config:

    php artisan vendor:publish --tag="module_xot_fila3-config"

Supercharged Console Commands 🚀

Take full control with powerful artisan commands:

  • List Modules:

    php artisan module:list

    See all installed modules and manage them directly from the console.

  • Create New Module:

    php artisan module:make <ModuleName>

    Instantly create a new module with boilerplate code.

  • Migrate Specific Module:

    php artisan module:migrate <ModuleName>

    Run migrations for a specific module without touching the others.

Configuration 🔧

Customize the behavior of your modules via the module_xot_fila3.php config file. Take control of routes, permissions, and much more!

Filament 3 Compatibility ✅

Il modulo Xot è ora completamente compatibile con Filament 3. Abbiamo risolto i problemi noti come:

  • Errore Method Filament\Actions\Action::table does not exist: Corretto nel trait HasXotTable con verifiche condizionali
  • Gestione delle tabelle: Migliorata la compatibilità con l'API di Filament 3 per le azioni nelle tabelle

Per ulteriori dettagli, consulta il file docs/xot_compatibility.md nel modulo Broker o il CHANGELOG.md in questo modulo.

Testing 🧪

Il modulo Xot include test completi per garantire la stabilità e l'affidabilità dei componenti critici:

Esecuzione dei Test

cd laravel/Modules/Xot
php artisan test --filter=Modules\\Xot\\Tests

Copertura dei Test

I test coprono componenti critici come:

  • Trait HasXotTable per garantire compatibilità multi-versione con Filament
  • Modelli base e relazioni
  • Funzionalità di gestione dei moduli

Aggiunta di Nuovi Test

Per aggiungere nuovi test:

  1. Creare il file di test in Modules/Xot/tests/Unit o Modules/Xot/tests/Feature
  2. Seguire le convenzioni di denominazione: NomeComponenteTest.php
  3. Assicurarsi di testare sia i casi di successo che i casi limite

FAQ ❓

  • Q: Can I add modules dynamically? A: Absolutely! Modules are automatically discovered and configured without the need for manual updates to your config files.

  • Q: How do I manage routes for each module? A: Route management is integrated. Just focus on building your modules and let the system handle the rest!

  • Q: Is this compatible with Filament 3? A: Yes! Version 10.0.x and above are fully compatible with Filament 3, with all known issues resolved.

Author 👨‍💻

Developed and maintained by Marco Sottana
📧 Email: marco.sottana@gmail.com

License 📄

This package is open-sourced under the MIT license.

Boost your Laravel app with powerful modular capabilities using Module Xot Fila3! 💥