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

v1.0.3 2025-10-12 08:55 UTC

This package is auto-updated.

Last update: 2025-10-27 13:03:16 UTC


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

  1. Install the package via Composer:

    composer require iquesters/organisation
  2. Run the database migrations to create the required tables:

    php artisan migrate
  3. (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.