iquesters/organisation
最新稳定版本:v1.0.10
Composer 安装命令:
composer require iquesters/organisation
包简介
The Organisation Package provides a structured way to manage multi-level organizational hierarchies within a Laravel application.
README 文档
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.
统计信息
- 总下载量: 71
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-08-27