iquesters / organisation
The Organisation Package provides a structured way to manage multi-level organizational hierarchies within a Laravel application.
Installs: 30
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/iquesters/organisation
Requires
- php: >=8.1
- iquesters/foundation: ^1.0
- laravel/framework: ^10.0|^11.0|^12.0
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
You can control which Blade layout the package’s views should extend. By default, the package uses its own built-in layout:
'layout' => env('ORGANISATION_LAYOUT', 'organisation::layouts.package')
Example .env Setting:
ORGANISATION_LAYOUT=layouts.app
This allows you to unify the look and feel of the Organisation module with your existing application’s design.