rminchrist / organisations
Organisation hierarchy package for Laravel
Installs: 1
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/rminchrist/organisations
Requires
- php: ^8.2
- illuminate/database: ^12.0
- illuminate/routing: ^12.0
- illuminate/support: ^12.0
README
A reusable Laravel package for managing hierarchical organisations, subsidiaries, branches, and departments.
It provides an API + optional web routes to create, update, and query organisations with parent–child relationships.
✨ Features
- Organisation model with recursive parent/child hierarchy
- RESTful API endpoints (CRUD)
- Ancestors & descendants queries
- Optional web routes (for browser usage)
- Configurable middleware (API + Web)
- OpenAPI (
openapi.yaml) documentation included in/docs
📦 Installation
Require the package (assuming local path during development):
composer require rminchrist/organisations