An open API service indexing awesome lists of open source software.

https://github.com/iquesters/masterdata

A reusable Master Data Management package for Laravel. Provides models, migrations, controllers, routes, and seeders for handling key–value based master data with meta support. Requires authentication with Spatie Roles & Permissions (super-admin + masterdata permissions).
https://github.com/iquesters/masterdata

laravel masterdata package role-permissions

Last synced: about 2 months ago
JSON representation

A reusable Master Data Management package for Laravel. Provides models, migrations, controllers, routes, and seeders for handling key–value based master data with meta support. Requires authentication with Spatie Roles & Permissions (super-admin + masterdata permissions).

Awesome Lists containing this project

README

          

# Laravel Master Data Package – Iquesters Iquesters Logo

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:

```bash
composer require iquesters/masterdata
```

2. Run the migrations to add the master data related tables to your database:

```bash
php artisan migrate
```

---

## 🔐 Authentication & Permissions

This package is built to work with **[Spatie Laravel Permission](https://spatie.be/docs/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](LICENSE)