Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Orchestra

License: MIT Laravel PHP Version Conventional Commits

Open-source distribution operations platform for wholesalers, distributors, FMCG businesses, and multi-product enterprises.

Orchestra connects business administration, role-based access, product and catalog management, field-oriented staff operations, inventory transactions, batches, sales, returns, customer ledgers, collections, digital shopfront ordering, subscriptions, and operational reporting in one system.

Developed and maintained by MD NASIM.

👤 Maintainer: MD NASIM


Why Orchestra

Distribution businesses operate across many connected workflows.

A single organization may manage thousands of products, multiple product categories, staff with different responsibilities, stock movements, sales transactions, returned and damaged goods, customer balances, collections, digital orders, and administrative controls at the same time.

Orchestra brings those workflows together around a shared business and transaction model rather than treating each function as an isolated application.

                         Orchestra
                             │
         ┌───────────────────┼───────────────────┐
         │                   │                   │
      Commerce           Operations           Control
         │                   │                   │
     Customers            Products             Businesses
     Shopfronts            Inventory            Roles
     Orders                Batches              Permissions
     Sales                 Returns              Staff
         │                   │                   │
         └───────────────────┼───────────────────┘
                             │
                         Financial
                             │
                 Ledgers · Payments · Deposits

Core capabilities

Business administration

  • Business management
  • Business administrators
  • Super-admin controls
  • Role management
  • Permission management
  • Business subscriptions
  • Subscription plans
  • Payment transaction records
  • Business geographic/sub-district management

Product and catalog management

  • Products
  • Product categories
  • Common products
  • Common categories
  • Units of measurement
  • Product batches
  • Product images
  • Supplier relationships
  • Product import workflows
  • Global/default product data

Staff and access control

  • Staff management
  • Role-based access control
  • Granular permissions
  • Admin and staff separation
  • DSR-oriented staff assignments
  • Staff/category relationships
  • Staff pricing controls
  • Salary-head management

Sales and transactions

  • Sales transactions
  • Transaction line items
  • Customer transactions
  • Inventory-linked transactions
  • Dealer pricing
  • Paid and due amounts
  • Transaction status
  • Invoice references
  • Invoice printing
  • Shopfront order integration

Inventory

  • Inventory transactions
  • Inventory transaction line items
  • Current stock tracking
  • Product batches
  • Batch quantities
  • Inventory contributors
  • Contributor quantities
  • Damaged goods transactions
  • Returned products
  • Return dates
  • Inventory-linked damage records
  • Inventory-linked sales summaries

Customer financial operations

  • Customer ledgers
  • Default ledgers
  • Ledger status
  • Ledger audits
  • Customer ledger relationships
  • Payment transactions
  • Deposit slips
  • Collection totals
  • Due collections
  • Damage-related deposit information

Digital shopfronts

  • Business shopfronts
  • Public product catalogues
  • Categories
  • Category images
  • Product images
  • Shopping cart
  • Customer orders
  • Order line items
  • Order invoices
  • Due-status tracking
  • Shopfront-to-transaction integration

Data import and data quality

  • Customer imports
  • Product imports
  • Import templates
  • Import history
  • Import conflict tracking
  • Duplicate detection
  • Duplicate detection logs
  • Duplicate detection performance tracking
  • Customer merge history
  • Customer data-quality records

Reporting and operational visibility

  • Super-admin dashboard
  • Business administration dashboards
  • Inventory summaries
  • Category sales summaries
  • Profit and loss reporting
  • Customer ledger visibility
  • Collection information
  • Transaction status reporting

Distribution data model

The core data model connects business identity, products, transactions, stock, customers, staff, and financial records.

Business
   │
   ├── Users
   ├── Staff
   ├── Products
   │    ├── Categories
   │    ├── Units
   │    └── Batches
   │
   ├── Transactions
   │    └── Transaction Lines
   │
   ├── Inventory Transactions
   │    └── Inventory Transaction Lines
   │
   ├── Returns
   ├── Damage Transactions
   ├── Customer Ledgers
   │    └── Ledger Audits
   │
   ├── Payment Transactions
   ├── Deposit Slips
   │
   └── Shopfront
        └── Orders
             └── Order Lines

The repository's database design is centered around business entities, products, transactions, inventory, staff assignments, returns, customer ledgers, payments, deposits, shopfront orders, subscriptions, and data-quality workflows.


Role model

Orchestra separates platform-level administration from business-level operations.

Super Admin
    │
    ├── Businesses
    ├── Business Administrators
    ├── Common Products
    ├── Common Categories
    ├── Common Units
    ├── Default Ledgers
    ├── Location Data
    ├── Roles
    └── Permissions
            │
            ▼
     Business Admin
            │
            ├── Staff
            ├── Products
            ├── Categories
            ├── Inventory
            ├── Transactions
            ├── Ledgers
            ├── Shopfront
            ├── Orders
            ├── Imports
            └── Operations

Authorization is implemented through Laravel middleware and Spatie Laravel Permission.


Data quality

A distribution platform becomes difficult to operate when master data becomes inconsistent.

Orchestra therefore includes dedicated data-quality infrastructure rather than treating imports as a simple file upload.

Import
  │
  ├── History
  ├── Conflict detection
  ├── Duplicate detection
  ├── Data quality records
  └── Merge history

Dedicated services and models are used for duplicate detection and customer data-quality workflows.


Shopfront workflow

Orchestra includes a public-facing shopfront layer for digital ordering.

Customer
   │
   ▼
Shopfront
   │
   ├── Browse categories
   ├── Browse products
   ├── Cart
   │
   ▼
Order
   │
   ├── Order lines
   ├── Due status
   └── Invoice
          │
          ▼
      Transaction

This allows a business to expose its product catalogue and accept digital orders while keeping those orders connected to its internal transaction model.


Technology

Orchestra is built on the Laravel ecosystem.

Backend

  • PHP 8.2+
  • Laravel 11
  • Laravel Tinker
  • League CSV
  • Laravel Excel
  • Intervention Image
  • Simple QrCode
  • ESC/POS PHP
  • Spatie Laravel Permission

Frontend

  • Vite
  • Tailwind CSS
  • Alpine.js
  • Axios
  • PostCSS
  • Autoprefixer
  • Laravel Vite Plugin

Development and testing

  • Pest
  • Pest Laravel plugin
  • PHPUnit
  • Laravel Pint
  • Laravel Sail
  • Laravel Debugbar
  • Faker
  • Mockery
  • Collision

Architecture

app/
├── Console/
├── Http/
│   └── Controllers/
│       ├── Admin/
│       ├── Auth/
│       └── SuperAdmin/
├── Imports/
├── Jobs/
├── Models/
├── Notifications/
├── Providers/
└── Services/

database/
├── factories/
├── migrations/
└── seeders/

resources/
├── css/
├── js/
└── views/

routes/
└── web.php

tests/
├── Feature/
└── Unit/

The application follows Laravel's conventional architecture while separating administrative controllers, business controllers, domain models, services, imports, jobs, migrations, seeders, and frontend assets.


Installation

Requirements

  • PHP 8.2 or later
  • Composer
  • Node.js
  • npm
  • MySQL or another Laravel-supported database
  • Git

Clone

git clone https://github.com/nasimubd/orchestra.git
cd orchestra

Install PHP dependencies

composer install

Install frontend dependencies

npm install

Configure the environment

cp .env.example .env

Generate the application key:

php artisan key:generate

Configure the database connection and other environment values in .env.

Run migrations

php artisan migrate

Seed the database

php artisan db:seed

Build frontend assets

npm run build

Start the application

php artisan serve

For frontend development:

npm run dev

Development

Orchestra includes a Composer development command for running the main local development processes together:

composer run dev

This workflow brings together the Laravel development server, queue listener, application logs, and Vite development server.


Testing

Run the test suite with:

php artisan test

or:

./vendor/bin/pest

Tests are organized into:

tests/
├── Feature/
└── Unit/

Versioning

Orchestra follows Semantic Versioning.

Current release:

v1.0.0

Version format:

MAJOR.MINOR.PATCH

Project status

Orchestra v1.0.0 establishes the initial public distribution-platform baseline.

The current release provides the foundation for:

  • business administration
  • access control
  • product management
  • inventory
  • sales transactions
  • customer ledgers
  • payments
  • deposits
  • collections
  • returns
  • damaged goods
  • DSR-oriented staff management
  • digital shopfront ordering
  • subscriptions
  • imports
  • duplicate detection
  • data-quality workflows
  • operational reporting

Roadmap

The architecture provides a foundation for expanding Orchestra into a broader distribution operating platform.

Potential future areas include:

Field Operations
      │
      ├── Advanced DSR workflows
      ├── Route operations
      ├── Delivery workflows
      └── Collection workflows

Operations
      │
      ├── Advanced warehouse workflows
      ├── Fulfillment
      ├── Stock planning
      └── Operational automation

Platform
      │
      ├── APIs
      ├── Integrations
      ├── Webhooks
      └── Mobile applications

Intelligence
      │
      ├── Advanced analytics
      ├── Forecasting
      ├── Optimization
      └── AI-assisted operations

These represent future development directions and are not claims about functionality included in the current release.


Contributing

Contributions are welcome.

When contributing:

  1. Create a focused branch.
  2. Keep changes scoped to the problem being solved.
  3. Add or update tests where appropriate.
  4. Run the test suite.
  5. Verify frontend assets build successfully.
  6. Clearly explain the problem and implementation in the pull request.

Security

Please do not commit:

  • production credentials
  • API keys
  • payment credentials
  • database passwords
  • private environment files
  • other secrets

For security vulnerabilities, please use a private disclosure process rather than publishing exploitable details in a public issue.


Maintainer

MD NASIM

Orchestra is developed and maintained by MD NASIM.


License

Orchestra is released under the MIT License.

Copyright © 2026 MD NASIM.

See the LICENSE file for the complete license text.


Citation

If you use Orchestra in research, academic work, technical documentation, or another software project, please cite the repository.

@software{orchestra,
  title = {Orchestra: Open-source distribution operations platform for wholesalers and distributors},
  author = {MD NASIM},
  version = {1.0.0},
  year = {2026},
  url = {https://github.com/nasimubd/orchestra}
}

BibTeX

@software{orchestra,
  title = {Orchestra: Open-source distribution operations platform for wholesalers and distributors},
  author = {MD NASIM},
  version = {1.0.0},
  year = {2026},
  url = {https://github.com/nasimubd/orchestra}
}

Project

Orchestra

Distribution Operations Platform

Developed and maintained by MD NASIM.

Copyright © 2026 MD NASIM. Licensed under the MIT License.

About

Orchestra is an open-source distribution operations platform for wholesalers, distributors, FMCG businesses, and multi-product enterprises. It connects field sales, DSR operations, inventory, warehouse transactions, customer ledgers, collections, digital ordering, and business administration in one role-aware platform.

Topics

Resources

Contributing

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages