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).
- Host: GitHub
- URL: https://github.com/iquesters/masterdata
- Owner: iquesters
- License: mit
- Created: 2025-08-18T07:35:12.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-12-01T03:25:28.000Z (6 months ago)
- Last Synced: 2025-12-14T13:38:57.848Z (5 months ago)
- Topics: laravel, masterdata, package, role-permissions
- Language: Blade
- Homepage:
- Size: 50.8 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Laravel Master Data Package – Iquesters 
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)