laraxot/module_user_fila3

user module for user management


README

Latest Release Build Status Code Coverage License

Manage users, roles, and permissions with lightning speed ⚡ through this Laravel module, fully integrated with FilamentPHP. Designed for developers who want full control over their user management systems. Empower your app with dynamic user access control and module assignments. 🚀

Key Features 🌟

  • Create Super Admin in Seconds: Instantly make any user a super admin with php artisan user:super-admin. 🛡️
  • Dynamic Module Assignment: Control user access to specific modules through php artisan user:assign-module. 🎯
  • Complete Team Management: Manage teams with simple commands like php artisan team:create and php artisan team:assign-user. 👥
  • Permissions that Fit: Set flexible roles and permissions to fit your app’s unique needs! 🔑

Installation Guide 💻

  1. Install the package via Composer:

    composer require laraxot/module_user_fila3
  2. Run Migrations:

    php artisan module:migrate User
  3. Publish Config File:

    php artisan vendor:publish --tag="module_user_fila3-config"
  4. Create First User:

    php artisan make:filament-user

Supercharged Console Commands 🚀

Leverage powerful artisan commands to boost your app’s user management capabilities:

  • Create Super Admin:

    php artisan user:super-admin

    Transform any user into an all-powerful super admin!

  • Assign Modules:

    php artisan user:assign-module

    Dynamically assign or restrict modules for specific users.

  • Manage Teams:

    • Create a team:
      php artisan team:create
    • Assign a user to a team:
      php artisan team:assign-user
  • View Available Modules:

    php artisan module:list

    See all available modules and activate/deactivate them at will.

Configuration 🔧

Easily configure the module in the module_user_fila3.php config file to suit your app's specific needs.

FAQ ❓

  • Q: How do I assign roles? A: Use the Filament interface or php artisan user:assign-module command to assign roles and modules.

  • Q: Can I manage teams? A: Absolutely! Use php artisan team:create to create new teams and php artisan team:assign-user to add users.

Contribute 💪

We 💖 open source! Want to improve this package? Fork the repo and submit a pull request.

Author 👨‍💻

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

License 📄

This package is open-sourced under the MIT license.

Give your Laravel app the edge it deserves with Module User Fila3. Try it now! 💥

Module users

Gestione degli utenti, ruoli, permessi tramite l'utilizzo di filament.

Gestione degli utenti

create_user set_password

Gestione dei ruoli

roles list

Aggiungere Modulo nella base del progetto

Dentro la cartella laravel/Modules

git submodule add https://github.com/laraxot/module_user_fila3.git User

Verificare che il modulo sia attivo

php artisan module:list

in caso abilitarlo

php artisan module:enable User

Eseguire le migrazioni

php artisan module:migrate User

Creare il primo account

Dalla documentazione di filament utilizziamo:

php artisan make:filament-user

l'account non potrà visualizzare nulla nella dashboard di amministrazione, in quanto non avrà assegnato nessun ruolo.

Rendere un account Super Admin

php artisan user:super-admin

Ora avete il vostro account Super Admin per poter iniziare. Esso potrà accedere a tutti i moduli nell'amminstrazione.

Assegnare un ruolo/modulo

php artisan user:assign-module

L'account potrà accedere al modulo assegnato.

Gestione dei Team