iquesters / organisation
The Organisation Package provides a structured way to manage multi-level organizational hierarchies within a Laravel application.
Requires
- php: ^8.3
- iquesters/foundation: ^2.0
- iquesters/user-interface: ^2.0
- laravel/framework: ^12.0|^13.0
- spatie/laravel-permission: ^8.0
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/pint: ^1.18
- laravel/sanctum: ^4.0
- orchestra/testbench: ^10.0|^11.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
The Organisation Package provides a structured and reusable way to manage multi-level organizational hierarchies within a Laravel application. Developed and maintained by Iquesters, this package is designed to integrate seamlessly with other Iquesters modules such as Foundation, User Management, and User Interface.
⚙️ Purpose
The Organisation Package acts as the backbone for handling organizational structures, such as:
- Multi-level departments, branches, or business units
- Role and user assignments within each organization
- Reusable organizational logic for other packages
It’s ideal for applications that need structured control over users, teams, and permissions across different organizational levels.
🚀 Installation
-
Install the package via Composer:
composer require iquesters/organisation
-
Run the database migrations to create the required tables:
php artisan migrate
-
(Optional) If the package provides default data or roles, seed them using:
php artisan organisation:seed
Layout Configuration
The layout is the DB setting organisation_layout (not a config file or .env).
See docs/developer/configuration.md.