iquesters/masterdata

Reusable Master Data module for Laravel projects

Installs: 23

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 1

Language:Blade

v1.0.0 2025-08-20 12:01 UTC

This package is auto-updated.

Last update: 2025-08-22 12:53:28 UTC


README

A reusable Master Data Management package for Laravel.
It provides models, migrations, controllers, routes, and seeders for handling key–value based master data with meta support.

🚀 Installation

  1. Require the package via Composer:

    composer require iquesters/masterdata
  2. Run the migrations to add the master data related tables to your database:

    php artisan migrate

🔐 Authentication & Permissions

This package is built to work with Spatie Laravel Permission for role and permission management.
To use it, your Laravel project must have authentication and Spatie Role Permissions set up.

  • The user must have the role: super-admin

  • The user must also have the following permissions:

    • manage-meta
    • create-master_data
    • edit-master_data
    • view-master_data
    • delete-master_data

Without these roles and permissions, access to the Master Data module will be restricted.

📖 Features

  • Key–value based master data handling
  • Meta support for additional attributes
  • Pre-built models, controllers, routes, and seeders
  • Simple integration with any Laravel project
  • Permission-based access control

🤝 Contributing

Pull requests are welcome. For major changes, please open an issue first
to discuss what you would like to change.

📜 License

MIT